3

I have the following MWE

\documentclass[pstricks,border=1pt, 10pt]{standalone}
\usepackage{pstricks,pst-plot}
\usepackage{pst-math}
\usepackage{amsmath}

\begin{document}



\begin{psgraph}[axesstyle=frame](0,0)(10,1){3cm}{3.0cm}%


\psdots[linecolor=black,dotstyle=diamond, dotsize=4.5pt] (5,0.5)     

\end{psgraph}

\end{document}

It shows a single coordinate using a diamond as dotstyle. Is there a way to rotate the markers by 90 degrees CW and CCW?

  • Pardon me, but there's only one marker in your figure. Also rotating a diamond by +90° or –90° doesn't make a difference – Bernard Apr 24 '17 at 22:37
  • You added the TikZ tag, to a question that doesn't look like it has anything to do with TikZ. Does that mean you're also interested in rotating markers in TikZ (or pgfplots)? – Torbjørn T. Apr 25 '17 at 6:35
3

Use dotangle

\documentclass[pstricks,border=20pt]{standalone}
\usepackage{pst-plot}
\begin{document}

\begin{psgraph}[axesstyle=frame](0,0)(10,1){3cm}{3.0cm}%        
\psdots[dotstyle=diamond, dotsize=4.5pt](5,0.5)         
\psdots[linecolor=red,dotstyle=diamond,dotsize=4.5pt,dotangle=90](5,0.3)        
\end{psgraph}

\end{document}
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.