Christoph Bier schrieb am 25.11.2012 14:18:

[...]

> 4. How can I automatically adjust vertical spacing? Both plots in
> the MWE have the same height and width. But the second plot needed
> more space.---JFTR: I already asked a similar question here:
> http://tex.stackexchange.com/questions/84073/space-between-bars-height-and-width-of-the-plot

I got a helpful answer by Jake:

“By default, plots always take up the same amount of space (240pt by
207pt). If you want the plots to adjust their height depending on
the number of bars, you can define the length of a unit in the y
direction, by setting y=0.5cm, for instance. If you then define the
bar width to be 0.4cm, there will be no overlap between the bars.
Since PGFPlots version 1.7 (I think), you can also define the extra
space at the top and bottom in absolute lengths (before that, you
could only specify it in data units).”

Corresponding example can be found here:
http://tex.stackexchange.com/a/84192/10682

[...]

Best regards
Christoph
-- 
(La)TeX-FAQ: http://projekte.dante.de/DanteFAQ +++ Minimalbeispiel
erstellen und Einführung in dctt: http://www.latex-einfuehrung.de/
+++ Veraltete Befehle, Pakete und andere Fehler:
ftp://ftp.dante.de/tex-archive/info/l2tabu/german/l2tabu.pdf
+++ Typografie-Regeln (1.7): http://bit.ly/typokurz-cb


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to