|
From: Petr M. <mi...@ph...> - 2006-11-02 17:01:30
|
>> 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. The data are fixed once read from the datafile. Then they are plotted. If the x-axis is set to be reversed, the drawing should be reversed as well. Using 'binary1' file from demo/, try: reset set autoscale fix set xrange [3:-3] #set xrange [-3:3] plot 'binary1' binary u 1:2:($3+$1*0.1+$2*0.3) 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 There, only the postscript file gives an expected drawing, while x11 and png drawings are wrong. --- PM |