Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2003

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

Search the Archive

RE: Showing thick lines - a problem?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39501] RE: [mg39484] Showing thick lines - a problem?
  • From: "David Park" <djmp at earthlink.net>
  • Date: Thu, 20 Feb 2003 05:13:32 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Uri,

Add the option PlotRange -> All. Otherwise Mathematica shows what it thinks
is "the most interesting" part of the plot, which might not be what you
intend.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

From: Uri Zwick [mailto:zwick at tau.ac.il]
To: mathgroup at smc.vnet.net

Hi,

The following draws two thick blue lines, one of length 1
and the other of length "len" using an image size of "size":

sl[len_,size_] :=
  Show[ Graphics[ {RGBColor[0,0,1],Thickness[0.01],Line[{{0,0},{len,0}}],
        Line[{{0,1},{1,1}}]}],ImageSize->size,AspectRatio->1/10]

On my machine:

sl[1/1000,450]

Shows a long thick line and
a very short thick line underneath it.

sl[1/1000,500]

Only the long line is visible, even tough the image is larger!

sl[1/1000,600]

The short line reappears.

The problem disappears when "Thickness[0.01]" is removed.

Do others have the same problem?

I would expect larger images to show more, and not less, details.
Also, it seems to me that thick lines should be visible whenever
thin lines are.

Uri




  • Prev by Date: Finding the closest number from a list
  • Next by Date: J/Link under Linux Mandrake 9.0
  • Previous by thread: Re: Showing thick lines - a problem?
  • Next by thread: RE: Showing thick lines - a problem?