Re: Bug with 3D graphics lines
- To: mathgroup at smc.vnet.net
- Subject: [mg80999] Re: [mg80958] Bug with 3D graphics lines
- From: Syd Geraghty <sydgeraghty at mac.com>
- Date: Fri, 7 Sep 2007 02:10:08 -0400 (EDT)
- References: <200709060930.FAA15401@smc.vnet.net>
Chuck, I tried your 2nd code below on my system and it seems OK to me... So just to make sure I graphed the all lines together (1 redundantly!) line1 = Line[{{0, 0, 0}, {4, 4, 0}}]; line2 = Line[{{0, 0, 0}, {0, 0, 2}}]; line3 = Line[{{0, 0, 0}, {4, 4, 0}}]; line4 = Line[{{1, 1, 0}, {1, 1, 2}}]; Show[Graphics3D[{line1, line2, line3, line4}], PlotRange -> {{-5, 5}, {-5, 5}, {0, 2}}, Axes -> True, AxesLabel -> {x, y, z}] "6.0 for Mac OS X x86 (32-bit) (June 19, 2007)" With above code do you still see a problem on your V6 on your machine? Cheers ... Syd Geraghty On Sep 6, 2007, at 2:30 AM, chuck009 wrote: > Seems to be a problem with Line when drawing a line in 3D. The > following code correctly draws the vertical line from z=0 to z=2: > > line1 = Line[{{0, 0, 0}, {4, 4, 0}}]; > line2 = Line[{{0, 0, 0}, {0, 0, 2}}] > Show[Graphics3D[{line1, line2}], > PlotRange -> {{-5, 5}, {-5, 5}, {0, 5}}, Axes -> True, > AxesLabel -> {x, y, z}] > > However, when I specify that the line is to be drawn with x and y > coordinates not equal to zero, the line is incorrectly drawn: > > line1 = Line[{{0, 0, 0}, {4, 4, 0}}]; > line2 = Line[{{1,1, 0}, {1,1, 2}}] > Show[Graphics3D[{line1, line2}], > PlotRange -> {{-5, 5}, {-5, 5}, {0, 5}}, Axes -> True, > AxesLabel -> {x, y, z}] > > In 5.2, the lines are drawn correctly. >
- References:
- Bug with 3D graphics lines
- From: chuck009 <dmilioto@comcast.com>
- Bug with 3D graphics lines