[pstricks] Replacing \psdots with \pscircle

Patrice MEGRET Patrice.MEGRET at umons.ac.be
Thu Dec 1 18:46:34 CET 2016


Dear all,
Here is the correct code (in the first graph, only the legend was in T3 but now all the points are T3 as by default)

Patrice


\documentclass{article}

\usepackage{t1enc}
\usepackage[latin1]{inputenc}


\usepackage{pstricks}
\usepackage{pst-node}
\usepackage{siunitx}
\usepackage{pstricks-add}

\newpsfontdot{pmCMultiply}[2 0 0 2 -.78 -.7]{Symbol}{<C4>}
\newpsfontdot{pmCPlus}[2 0 0 2 -.78 -.7]{Symbol}{<C5>}
\newpsfontdot{pmLosange}[2 0 0 2 -.78 -.5]{Symbol}{<A8>}
\newpsfontdot{pmPoint}[2 0 0 2 -.5 -.7]{Symbol}{<B7>}

\begin{document}
\begin{figure}[!t]
\savedata{\datacconcreta}[{%
{1, 22.7}%
{2, 33.1}%
{3, 41.3}%
{7, 53.4}%
{14, 58.7}%
{28, 61.7}%
}]

\savedata{\datacconcretb}[{%
{1, 23.4}%
{2, 39.1}%
{3, 45.2}%
{7, 52.1}%
{25, 61.7}%
{28, 61.7}%
{30, 62.2}%
}]
\centering
\psset{llx=-1.1cm,lly=-0.8cm,ury=0.1cm,labelFontSize=\scriptsize,mathLabel=false,xAxisLabel={Days},xAxisLabelPos={c,-0.6cm},yAxisLabel={$f_{cm,cub150}$ (\si{\mega\pascal})},yAxisLabelPos={-0.9cm,c}}
\psset{dotscale=1.3}
\rput[lb](5,1){%
\tiny
\begin{tabular}{ll}
\psdot[linecolor=orange,dotstyle=SolidDiamond](0,0.05) & B-FM \\
\psdot[linecolor=blue,dotstyle=Oplus](0,0.07) & B-TM1 \\
\psdot[linecolor=black,dotstyle=otimes](0,0.07) & B-TM2 \\
\end{tabular}
}
\begin{psgraph*}[Dx=5,Dy=10,Oy=20,ticklinestyle=dotted,xticksize=0 50,yticksize=0 35]{->}(0,20)(37,76){10cm}{5cm}
\listplot[showpoints=true,linecolor=orange,dotstyle=SolidDiamond,plotstyle=line]{\datacconcreta} %
\listplot[showpoints=true,linecolor=blue,dotstyle=Oplus,plotstyle=line]{\datacconcretb} %
\psdot[dotstyle=otimes](33,54.5)
\end{psgraph*}
%\includegraphics[width=3.5in]{Figure4n.eps}
\caption{With psdot style (T3).}
\label{fig-4n}
\end{figure}




\begin{figure}[!t]
\savedata{\datacconcreta}[{%
{1, 22.7}%
{2, 33.1}%
{3, 41.3}%
{7, 53.4}%
{14, 58.7}%
{28, 61.7}%
}]

\savedata{\datacconcretb}[{%
{1, 23.4}%
{2, 39.1}%
{3, 45.2}%
{7, 52.1}%
{25, 61.7}%
{28, 61.7}%
{30, 62.2}%
}]
\centering
\psset{llx=-1.1cm,lly=-0.8cm,ury=0.1cm,labelFontSize=\scriptsize,mathLabel=false,xAxisLabel={Days},xAxisLabelPos={c,-0.6cm},yAxisLabel={$f_{cm,cub150}$ (\si{\mega\pascal})},yAxisLabelPos={-0.9cm,c}}
\rput[lb](5,1){%
\tiny
\begin{tabular}{ll}
\psdot[linecolor=orange,dotstyle=pmLosange](0,0.05) & B-FM \\
\psdot[linecolor=blue,dotstyle=pmCPlus](0,0.07) & B-TM1 \\
\psdot[linecolor=black,dotstyle=pmCMultiply](0,0.07) & B-TM2 \\
\end{tabular}
}
\begin{psgraph*}[Dx=5,Dy=10,Oy=20,ticklinestyle=dotted,xticksize=0 50,yticksize=0 35]{->}(0,20)(37,76){10cm}{5cm}
\listplot[showpoints=true,linecolor=orange,dotstyle=pmLosange,plotstyle=line]{\datacconcreta} %
\listplot[showpoints=true,linecolor=blue,dotstyle=pmCPlus,plotstyle=line]{\datacconcretb} %
\psdot[dotstyle=pmCMultiply](33,54.5)
\end{psgraph*}
%\includegraphics[width=3.5in]{Figure4n.eps}
\caption{With only T1 made from newpsfontdot.}
\label{fig-4n}
\end{figure}
\end{document}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20161201/66012c93/attachment-0001.html>


More information about the PSTricks mailing list