MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Thickness Isn't Thickness

  • To: mathgroup at
  • Subject: [mg29927] Re: Thickness Isn't Thickness
  • From: Jens-Peer Kuska <kuska at>
  • Date: Thu, 19 Jul 2001 03:56:53 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <9j3agr$iop$>
  • Sender: owner-wri-mathgroup at


I have tyed it on my SGI box and the FrontEnd does not
show it correct but it is correct in an exported PostScript

gg = Show[
    Graphics[{Thickness[0.1], PostScript["1 setlinecap"]; 
        Line[{{-0.25, -0.25}, {1, 1}}], Line[{{0.75, -0.75}, {-1,
Export["test.eps", gg, "EPS"]

and in "test.eps" the lines have round ends.
It seems that Mathematica's PostScript interpreter 
ignore the "setlinecap" and only use "2 setlinecap"
for every line. If you wish that thick lines end
exact on the endpoint "0 setlinecap" in a PostScript[]
command may help.

But I'm sure you will only see it in a external
PostScript viewer and not with Mathematica's 
PostScript interpreter.


aes wrote:
> The Line drawing capability in Illustrator allows you to select between
> what are called "butt", "round", or "projecting" caps as "Stroke
> attributes" on the ends of lines.
> Does Mathematica allow anything similar?
> (The Mathematica default seems to be the equivalent of "projecting caps", which
> make for problems if you're trying to have a thickened line intersect a
> thinner line or other geometrical figure at 90 degrees, with the
> endpoint of the thicker line located on that figure, as is analytically
> convenient.  The end of the thick line then project through the thinner
> line, which is not wanted.)
> (And one could argue that "Thickness", taken literally, should increase
> the thickness but NOT the length of a line, as Mathematica unfortunately
> does.)

  • Prev by Date: Re: Re: Placeholders in matrix notation
  • Next by Date: Re: Placeholders in matrix notation
  • Previous by thread: RE: Thickness Isn't Thickness
  • Next by thread: Re: Thickness Isn't Thickness