[pstricks] Fwd: tranparency with psdataplot, psfileplot and pslistplot

$naKe snake at xrousseau.com
Fri Feb 28 05:44:45 CET 2014


Hi,

when plotting data that lies in a very narrow range, I understand that
it is better to rescale them using \pstScalePoints. However, this macro
is only valid for the \listplot macro. Is there any similar way to deal
with the \psBoxplot macro?

% the following is working fine
\begin{pspicture}
     \savedata{\data}[0.936 0.937 0.934 0.936 0.937 0.938 0.934 0.933 
0.932 0.935]
     \def\ymin{0.930}
     \def\ymax{0.940}
     \def\Dy{.005}
     \begin{psgraph}[Oy=\ymin,Dy=\Dy](0,\ymin)(1,\ymax){1cm}{5cm}
         \rput(.5,0){\psBoxplot[barwidth=.5\psxunit]{\data}}
     \end{psgraph}
\end{pspicture}

% here the range is to small
\begin{pspicture}
     \savedata{\data}[0.9936 0.9937 0.9934 0.9936 0.9937 0.9938 0.9934 
0.9933 0.9930 0.9935]
     \def\ymin{0.9930}
     \def\ymax{0.9940}
     \def\Dy{.0005}
     \begin{psgraph}[Oy=\ymin,Dy=\Dy](0,\ymin)(1,\ymax){1cm}{5cm}
         \rput(.5,0){\psBoxplot[barwidth=.5\psxunit]{\data}}
     \end{psgraph}
\end{pspicture}

regards,
Hugo




More information about the PSTricks mailing list