[pstricks] tranparency with psdataplot, psfileplot and pslistplot

$naKe snake at xrousseau.com
Mon Feb 3 16:30:24 CET 2014


> Date: Mon, 3 Feb 2014 10:55:10 +0100
>
> no problem with PSTricks ...
>
>
> \documentclass[pstricks]{standalone}
> \usepackage{pst-plot}
> \makeatletter
> \def\psdots at iii{%
>     \psk at dotsize
>     \@nameuse{psds@\psk at dotstyle}
>     \tx at setStrokeTransparency
>     newpath
>     n { transform floor .5 add exch floor .5 add exch
>         itransform Dot  } repeat }
> \makeatother
> \begin{document}
>
> \def\al{0.007133}
> \def\be{13.76 }
>
> \psset{llx=-1,lly=-0.75,urx=0.5,ury=0.5,arrows=->}
> \pstScalePoints(1,1){1000 div}{}
> \begin{psgraph}[Oy=30,Dy=10,Ox=3,xlabelFactor=\cdot10^3](3,30)(10,100){10cm}{10cm}
> \readdata{\Data}{data.dat}
> \pslistplot[plotstyle=dots,dotscale=0.5,linecolor=blue,strokeopacity=.4]{\Data}
> \psplot[algebraic,plotpoints=2]{3.7}{9.4}{\al*x*1000+\be}
> \end{psgraph}
>
> \end{document}
>
> The modification will be available in the next PSTricks update.
Many thanks, you do a wonderful job.
Best,
Hugo


More information about the PSTricks mailing list