Hi Christian,

Thank you for taking the time to look into this.  I will check out
what you have done so far.  (Although I won't have time in the next
week or so).

Thank you!

Neal 

At Sat, 15 Sep 2012 13:51:13 +0200,
Christian Feuersaenger wrote:
> three weeks ago (or two!?), I started with an implementation for that 
> feature. I supposed it would be a very simple addition.
> 
> However, it is not. I forgot that there is a hen- and egg problem: you 
> need the limits in order to fix the unit scaling and you need the unit 
> scaling in order to write something like
> 
> enlarge x limits={abs=1cm} .
> 
> My very first draft applies the "abs=1cm" (i.e. enlarge limit by a fixed 
> dimension) *after* the scaling. In other words: it respects your limit 
> enlargement, but it does not respect your choice of width/height. I am 
> unsure of how much time I can invest to implement this in a way which 
> keeps the axis dimensions fixed.
> 
> If you want, you can experiment with that early draft and provide 
> feedback. I would let you know if the prototype changes its behavior.
> 
> The feature is part of the pgfplots unstable currently (available as 
> download on http://pgfplots.sourceforge.net/ ).
> 
> Best regards
> 
> Christian
> 
> 
> 
> Am 23.08.2012 12:41, schrieb Neal H. Walfield:
> > Hi,
> >
> > I have a very wide plot of some time serie data.  In fact, it is so
> > wide, that to keep the plot readable, I have to truncate it.  This is
> > okay, but I'd still like to display as much of the data as possible.
> > I can gain some space by shrinking the limits (i.e., enlarge x
> > limits).  I could set enlarge x to false, but this makes the tick
> > marks unreadable, so I'd like to avoid that.  Instead, I'd like to
> > specify an absolute value in paper dimensions.  In particular, I'd
> > like to set it to 1.5/pgfplots/ticklength.
> >
> > I first tried this:
> >
> >   enlarge x limits={abs=1cm}
> >
> > But, that doesn't work:
> >
> >    ! Package PGF Math Error: Could not parse input '1cm' as a floating
> >      point number, sorry. The unreadable part was near 'cm'..
> >
> > pgfplots appears to want the value in axis cs units.
> >
> > I think that to get this functionality, I'd need a new option to
> > enlarge x limits, something along the lines of enlarge x
> > limits={paper=dim}.
> >
> > I'd appreciate any help.
> >
> > Thanks,
> >
> > Neal
> >
> > A minimal working example:
> >
> > \documentclass{article}
> >
> > \usepackage{tikz}
> > \usepackage{pgfplots}
> >
> > \begin{document}
> >
> > \begin{tikzpicture}
> > \begin{axis}[small, width=\textwidth, height=.2\textheight]
> >    \addplot[domain=1:1000] {x};
> >    \end{axis}
> > \end{tikzpicture}
> >
> > \end{document}
> >
> > ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > _______________________________________________
> > Pgfplots-features mailing list
> > Pgfplots-features@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/pgfplots-features
> 
> 
> ------------------------------------------------------------------------------
> How fast is your code?
> 3 out of 4 devs don\\\'t know how their code performs in production.
> Find out how slow your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219672;13503038;z?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> Pgfplots-features mailing list
> Pgfplots-features@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pgfplots-features
> 

------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to