[pstricks] tranparency with psdataplot, psfileplot and pslistplot
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Mon Feb 3 10:55:10 CET 2014
Am 03.02.2014 04:43, schrieb $naKe:
> where the data set can be found at
>
> https://www.ceremade.dauphine.fr/~raguet/data.dat .
>
> Sorry for compilation time (5871 points), but I guess data size matters
> here.
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.
Herbert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bildschirmfoto vom 2014-02-03 10:53:09.png
Type: image/png
Size: 67484 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20140203/bc8fa4d9/attachment-0001.png>
More information about the PSTricks
mailing list