From: Thomas S. <t.s...@fz...> - 2010-03-25 18:28:01
|
set x2range [-0.5:399.5] set y2range [-0.5:399.5] reverse set xrange [11.4:987.2] set yrange [5.5:13.8] set xtics out nomirror set ytics out nomirror plot 'Z_TraceUp.topography' matrix axes x2y2 with image yoel wrote: > > Hi all, > I have topographic data as an 400x400 pixel matrix: > 1 2 3 4 5 6 ..... 400 > 4 6 3 5 5 2 ..... 42 > . . > . . > . . > 400.................400 > > To plot it as a color-coded topographicmap I use "plot "myfile" matrix > with image" which gives me the result but upside down (meaning I want to > rotate it 180 degrees). > I tried using flipy and flipx but I get this error: > $splot "Z_TraceUp.topography" yflip matrix with pm3d > $ ^ > $"topographyImage.gp", line 23: ';' expected > > Also, the matrix option forces the x and y values to be the m,n values in > the pixel matrix. > Is there a way to change the x and y tics to be with other values? > For example, I'd like the x range to be [11.4,987.2] rather than [0,400]. > > Anybody knows how I can do these things? > Thanks a lot, > Yoel > -- View this message in context: http://old.nabble.com/plotting-topographic-data-tp28022477p28033037.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |