|
From: 1sezgin <1se...@gm...> - 2008-10-29 07:46:27
|
I have a problem with gnuplot. ( Version 4.2 patchlevel 2) With the code which I past belove I produce a 2D color image. I would like to make projection on x axis which mean by using a data like; x y z 1 1 2 1 2 0 1 3 1 1 4 1 2 1 1 2 2 0 2 3 1 2 4 0 3 1 2 3 2 0 3 3 1 3 4 2 as a result of projection I want to draw these new lines (it should sum z values for every y group (from 1 to 4) x new y 1 4 2 2 3 5 is it possible to make this with gnuplot? My goal is to draw one divided graph, which has a color graph up (first data) and projection of first data (second data) like a histogram, down. Sezgin set xlabel 'A1' set ylabel 'B1' set view map #set palette rgbformulae 10,13,33 set palette gray set cbrange [0:5] set xrange [0:3276] set yrange [-1638:1638] set term png size 840,840 set output 'image.png' splot 'ASCIIdata.txt' using (0.7*($1+$2)):(0.7*($1-$2)):3 notitle with points palette ps 1 pt 5 -- View this message in context: http://www.nabble.com/Plot-an-ellipse-knowing-center-and-axis-tp20184644p20187190.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |