|
From: Ethan M. <merritt@u.washington.edu> - 2006-11-02 17:35:08
|
On Thursday 02 November 2006 09:16 am, Ethan Merritt wrote:
>
> *None* of the drivers I have tested reversed the drawing.
> The PostScript and x11 driver shift it over to the left, but
> do not reverse it.
Ah, sorry. The change was too subtle for me to notice
using that test image.
Yes, you are right that the PostScript driver reverses
the image and the x11 driver does not. Both post and x11
shift the image to the left, however.
> The wxt, png, and pdf driver neither shift nor reverse.
So we have at least 3 different behaviors.
Here is a test script that makes it obvious what is
happening for any given driver:
#
# Test script for image + reversed x axis
#
set multiplot layout 2,2
set xrange [140:-20]
plot 'blutux.rgb' binary array=128x128 flipy \
format='%uchar%uchar%uchar' using ($1+$2+$3) with image
set xrange [-20:140]
plot 'blutux.rgb' binary array=128x128 flipy \
format='%uchar%uchar%uchar' using ($1+$2+$3) with image
set xrange [3:-3]
plot 'binary1' binary u 1:2:($3+$1*0.1+$2*0.3) w image
set xrange [-3:3]
plot 'binary1' binary u 1:2:($3+$1*0.1+$2*0.3) w image
unset multiplot
--
Ethan A Merritt
Biomolecular Structure Center
University of Washington, Seattle WA
|