[pstricks] how does one draw a dashed line using psrticks

Jean-Côme Charpentier jean-come.charpentier at wanadoo.fr
Sun Feb 8 18:17:29 CET 2009

Jean-Côme Charpentier a écrit :
> Nwojo Agwu a écrit :
>> Hi,
>   Hello,
>> I wanted to draw a dashed so I typed the following
>> \psline{linestyle=dashed}(x_{0},y_{0})(x_{1},y_{1}).
>   That's the right way.

  Ooops! I was blind! That's wrong :-)

  \psline[optional argument](...)(...) rather than
  \psline{optional argument}(...)(...)

You see? brackets rather braces.

  BTW, I suppose the error was about an arrow not defined. \psline
syntax could be:
  \psline{arrow type}(...)(...)

  Jean-Côme Charpentier

More information about the PSTricks mailing list