Re: GNUPLOT: Scaling of x-axis
Moin,
Oliver Mertens schrub:
Could someone please tell me how to scale the
x-axis under gnuplot?
plot 'data' using ($0 / 10.):1
Thanks for your answer!
Now, let's assume there are two columns given as
x1 y1
x2 y2
x3 y3
. .
. .
. .
Same way: plot 'data' using ($1 / 10.):2
1. How do we scale the x-axis and leave the y-axis unchanged?
2. Same question in the other way around:
How do we scale the y-axis and leave the x-axis unchanged?
plot 'data' using 1:($2/10)
$n means the n'th column, you could calculate with the value in
that column as you like. Even
plot "data" u (sin($1+$2)):2
is allowed
(which will plot y1 over sin(x1+y1), y2 oder sin(x2+y2),... if
you ever need that:-))
In other words:
plot "data" u 1:2
is the same as
plot "data" u ($1):($2)
and in the braces you could make every calculation you want.
$0 ist a special column which is interpreted as if it contains
the line number.
CU Rollo
.
Relevant Pages
- Re: Unusual Y Axis Scale Question
... creatinine values (a measure of kidney function) over time. ... Although it would be easy to plot these data on a graph with standard Y-axis ... So, it's not the data that is complex, it's just the scale of the Y-axis. ... (microsoft.public.excel.charting) - Re: Unusual Y Axis Scale Question
... If you can plot it manually we expect to be able to do it in Excel. ... > creatinine values (Y-axis) over time, ... The scale is not linear and it's not logarithmic. ... (microsoft.public.excel.charting) - Plotyy: Two variables on Y1 and one on Y2??
... I would like to plot two variables along the left Y-axis - both have ... the same scale and one variable along the right Y-axis. ... Prev by Date: ... (comp.soft-sys.matlab) - Re: randomized white noise = white noise?
... You can draw lines on a Bode plot that are ... have a look at the relationships in your filter to see why you get ... The way around this is to scale "white" down, ... the safe scaling would be 0.408. ... (sci.electronics.design) - RE: How do I change my x-y scatter chart to show my column x values i.
... To not plot outliers, set the max. scale of the axis to a number that ... Double-click the axis; in the resulting dialog ... box, select the Scale tab. ... > was trying to plot. ... (microsoft.public.excel.charting) |
|