|
From: Ethan A M. <merritt@u.washington.edu> - 2006-11-02 16:13:45
|
On Thursday 02 November 2006 03:50 am, Petr Mikulik wrote: > Here is a bug report from a user: > > In the following script, the map (for a 3D file) is shifted in the opposite > (wrong) direction in the png output file compared to other terminals wxt and pdf give the same output as png x11 and postscript give a different result, as you noted. Which is correct? So far as I can see, the documentation says nothing about shifting the image if the axis is rescaled. So strictly speaking I don't think it is a bug because there is no promise of any particular behavior. Having said that, I find the wxt/pdf/png behavior more expected. So if we change existing drivers to make them consistent, I vote for changing x11 and postscript to match the others ==> always place the lower left corner of the image at the requested coordinate origin. > set xrange [20:-20] > #set xrange [-20:20] > > plot "a.dat" w image > > set terminal png; set output "s.png" > replot > set term postscript color; set out 'a.ps'; replot > set term fig color; set out 'a.fig'; replot > set out; set term pop > > > Is it a bug in the gd terminal? > > --- > PM > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |