Hi Neal,

thanks for the feature request.

You are not the only one who missed this particular feature - but I used 
your vote together with other ones received recently as motivation to 
implement that kind of input for the next release.

Thanks for the suggestion with 1.5 ticklength; I will see if this value 
is accessable using the UI.

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


------------------------------------------------------------------------------
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

Reply via email to