# [Tugindia] Query Graphics Tutorial Chapter 1

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Sun Sep 7 08:40:08 CEST 2003

V. Sharma schrieb:
> I am a new user. Miktex, WinXP, Winedt. When I use the
> \begin{pspicture}(x0,y0)(x1,y1) command with xo,yo entered as
> (-0.5,-.5)(0,1.5) and then use the \psdots command I get the axis
> starting at what looks like the coordinates(.5,.5)! However if I use
> \begin{pspicture}(--.5,--.5)(0,1.5)the coordinates of the axis are
> correctly placed. Is this a bug? I attach the pdf and tex files used to
> produce this error. Can you explain what am I doing wrong? regards vivek

the pdf was cut by the mailer. Anyway I can see no
problem.

Herbert

\documentclass[12pt]{article}
\usepackage{pst-plot}
\begin{document}
\psset{unit=3cm}
\begin{pspicture}(-0.5,-.5)(0,1.5)
\psaxes[Dx=0.5,Dy=0.5]{->}(0,0)(-0.5,-.5)(0,1.5)
\psdot[dotstyle=square](0,0)
\psdot[dotstyle=square*](-0.25,0.5)
\end{pspicture}
\end{document}

--
http://www.pstricks.de/