Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1799

Re: gnuplot rendering engine bug?

Newsgroups comp.graphics.apps.gnuplot
Date 2013-04-29 03:34 -0700
References <3f127278-26e2-4402-88a3-2a6692854068@googlegroups.com> <klk55m$l4r$1@dont-email.me>
Message-ID <40c0278d-d2cb-4e24-a3c8-4df36e889047@googlegroups.com> (permalink)
Subject Re: gnuplot rendering engine bug?
From usenetdt@gmail.com

Show all headers | View raw


That's excellent - thanks very much
Dave

On Sunday, April 28, 2013 10:46:33 PM UTC+1, sfeam wrote:
> usenetdt@gmail.com wrote:
> 
> 
> 
> > Hi
> 
> > 
> 
> > I'm having a play around with the 3d cylindrical coordinate system,
> 
> > and have come up against a posible bug.  The front half of my graph
> 
> > isn't rendering.
> 
> 
> 
> You need to add
> 
>   set pm3d depthorder
> 
> 
> 
> In short, unless you specify that the plot elements are to be sorted
> 
> on Z, they are drawn in the order they appear in the input file.
> 
> Your "front half" plot elements are near the top of the file so they
> 
> get overwritten by elements that appear later in the file.
> 
> 
> 
> 	Ethan
> 
> 
> 
> 
> 
> 
> 
> > 
> 
> > my script is:
> 
> > --------------
> 
> > reset
> 
> > set title "3D version using cylindrical coordinate system"
> 
> > set ticslevel 0.0
> 
> > set view 30,56,0.98
> 
> > set angles degrees
> 
> > set mapping cylindrical
> 
> > set parametric
> 
> > set zrange[-60:0]
> 
> > unset key
> 
> > splot 'freqResp.dat' u 1:3:2 with pm3d
> 
> > --------------
> 
> > 
> 
> > And I've put the "freqResp.dat" file here:
> 
> > http://www.d-thompson.co.uk/uploads/3/4/5/9/3459097/freqresp.dat
> 
> > 
> 
> > When I run the script, I only get the back half of the graph being
> 
> > rendered: http://i.stack.imgur.com/js4hz.png
> 
> > 
> 
> > If I run a different script in normal cartesian coordinates, then all
> 
> > the data is present: http://i.stack.imgur.com/XgS5O.png
> 
> > 
> 
> > Normal script:
> 
> > -------------
> 
> > set xlabel "Arrival Angle (degrees)" font "arial,8"
> 
> > set ylabel "Frequency (Hz)" font "arial,8"
> 
> > set zlabel "Gain (dB)" font "arial,8"
> 
> > 
> 
> > set grid lc rgbcolor "#BBBBBB"
> 
> > 
> 
> > set xrange[-180:180]
> 
> > set yrange[0:20000]
> 
> > set zrange[-60:0]
> 
> > 
> 
> > unset key
> 
> > set view 30,56,0.98
> 
> > 
> 
> > splot 'freq.dat' u 1:2:3 with pm3d
> 
> > -------------
> 
> > 
> 
> > So can anybody confirm if this is a bug? (or if it's a problem with my
> 
> > code?)
> 
> > 
> 
> > Thanks
> 
> > Dave

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Find similar


Thread

gnuplot rendering engine bug? usenetdt@gmail.com - 2013-04-28 07:19 -0700
  Re: gnuplot rendering engine bug? sfeam <sfeam@users.sourceforge.net> - 2013-04-28 14:46 -0700
    Re: gnuplot rendering engine bug? usenetdt@gmail.com - 2013-04-29 03:34 -0700

csiph-web