|
From: somesh <som...@gm...> - 2013-01-24 15:46:52
|
Hi, I have a data file like this: #x y 1 34 2 450 3 -987 4 20045 5 -1003 6 -30 For only positive values, just "logscale y" is fine. For only negative values, I can use a reversed logscale: -- set logscale y set yrange [ymin:ymax] reverse plot file u 1:(-$2) axis x1y1 t "Y" w linespoints -- But how do I plot both positive and negative values in same plot? I want to place the x axis at the center of y axis; positive log scale (for positive values) above the x axis, and reversed logscale (for negative values) below the x axis. Is it possible? Thanks, Somesh -- View this message in context: http://gnuplot.10905.n7.nabble.com/Both-positive-and-negative-log-y-axis-in-same-plot-tp17082.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |