New answers tagged

1

Here I present an alternative, if you don't want to enlarge the ymax. For details, please have a look at the comments in the code. % used PGFPlots v1.17 \documentclass[border=5pt]{standalone} % we need PGFPlotsTable ... \usepackage{pgfplotstable} % ... to store the data in an inline table % (alternatively one could store it in a file) \...


2

\documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ title=sample count per class, xbar, xmin=0,xmax=3000000, width=8cm, height=6cm, enlarge y limits=0.15, symbolic y coords={{,},{.},{-},{:}, {?}}, ytick=data, nodes near coords, nodes near coords align={horizontal}, point meta=rawx, ...


4

A reasonable choice for 3D graphics would be Asymptote: // file diag.asy // // run // asy diag.asy // to get a standalone image diag.pdf // settings.tex="pdflatex"; import graph3; size(200,0); currentprojection=orthographic(camera=(67,9,14)); import fontsize; defaultpen(fontsize(7pt)); texpreamble("\usepackage{lmodern}\usepackage{...


6

I don't know exactly what kind of changes you will need, but perhaps this could be a starting point. My approach is basically to use calc library to compute the coordinates of the dots. \documentclass[border=2mm]{standalone} \usepackage {amsmath} % for pmatrix \usepackage {tikz} \usetikzlibrary{calc} % for coordinates \begin{document} \begin{...


Top 50 recent answers are included