[pstricks] linewidth
Patrice MÉGRET
Patrice.MEGRET at umons.ac.be
Tue Mar 5 15:28:32 CET 2013
Dear Christophe,
Dear Luis,
Thanks for your info.
Of course, linestyle=none is the best way to proceed.
In fact, I have some trouble with sublines on graphs and as I used the linewidth parameter for this lines, I was thinking to put linewidth=0pt to temporally disable the drawing of that part of the graph.
Best regards,
Patrice
-----Message d'origine-----
De : PSTricks [mailto:pstricks-bounces at tug.org] De la part de Christoph Bersch
Envoyé : mardi 5 mars 2013 13:03
À : pstricks at tug.org
Objet : Re: [pstricks] linewidth
Hi,
Am 04.03.2013 17:56, schrieb Patrice MÉGRET:
>
> \psline[linewidth=0pt,linestyle=dashed](1,1)
>
> When linestyle is 'dotted' and linewidth is 0pt nothing is displayed
> as I expect but when linestyle is 'dashed' or 'solid' with
> linewidth=0pt, a line is nevertheless drawn?
I do also see a line with dotted style.
> Is the normal behavior?
Yes, this is normal. Quoting the Postscript language reference
<www.adobe.com/products/postscript/pdfs/PLRM.pdf>:
setlinewidth (which is called when using the PSTricks linewidth parameter):
A line width of 0 is acceptable, and is interpreted as the thinnest line that can be rendered at device resolution-1 device pixel wide. However, some devices
can-
not reproduce 1-pixel lines, and on high-resolution devices, they are nearly invis- ible. Since the results of rendering such "zero-width" lines are device-dependent, their use is not recommended.
To suppress the line you must use linestyle=none.
Best regards,
Christoph
_______________________________________________
PSTricks mailing list
PSTricks at tug.org
http://tug.org/mailman/listinfo/pstricks
archive: http://www.tug.org/pipermail/pstricks/
More information about the PSTricks
mailing list