|
From: Martin G. <mg...@lb...> - 2011-09-27 17:48:43
|
Hi Hernán: First of all, many thanks for your help. On 09/26/2011 06:19 PM, Hernán Gonzalo Asorey wrote: > On Mon, Sep 26, 2011 at 21:30, Martin Genet <mg...@lb... <mailto:mg...@lb...>> wrote: > > I have a system with two inputs (i1 & i2), and one output (o). > The two parameters are linked by some kind of constraint (c(i1, i2) = 0). > I have data in the following format: #i1 i2 o. > Of course, I can easily plot o(i1) and o(i2). > I would like to create a plot where I have i1 in x1 axis, and corresponding i2 in x2 axis, while having o in y1 axis. > > perhaps this: > set x2tics > set xtics nomirror > set xlabel "i1" > set x2label "i2" > set ylabel "o" > plot 'myfile' u 1:3 w l t "o(i1)", '' u 2:3 axes x2y1 t "o(i2)" However, the problem I see here is that there is no "mapping" between x1 et x2 axis, though x2 axis should be a transformation of x1 axis through c constraint. Is there a way to put, for each label of x1 axis, a corresponding label in x2 axis? Thanks again, Martin. |