Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #208

Re: How to plot 2 curves on the same plot with different scales

From Jiri <bok@karlov.mff.cuni.cz>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: How to plot 2 curves on the same plot with different scales
Date 2011-04-03 11:19 -0700
Organization http://groups.google.com
Message-ID <a5ef994e-6dcd-465b-a992-ff32e4370827@z37g2000vbl.googlegroups.com> (permalink)
References <00c918df-6378-4b17-882d-eab03d01290d@x3g2000yqj.googlegroups.com>

Show all headers | View raw


If you plot from the data file having three columns: x   y 1  y2
then, e.g.:
plot "datafilename"  u  1:2,  "datafilename"  u  1:($3*5)
("y2" values will be plotted multiplied by 5)
 Jiri


On 3 dub, 19:52, Jacare Omoplata <walkeystal...@gmail.com> wrote:
> Hi,
>
> I want to plot two curves on the same plot with different scales.
>
> The y axis of one curve has larger numerical values than the y axis of
> the other one. I want to compare the shapes, not the numerical values.
> So I want to plot both of them in the same plot with different scales.
>
> Is there any way this can be done?
>
> Thanks

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How to plot 2 curves on the same plot with different scales Jacare Omoplata <walkeystalkey@gmail.com> - 2011-04-03 10:52 -0700
  Re: How to plot 2 curves on the same plot with different scales Jiri <bok@karlov.mff.cuni.cz> - 2011-04-03 11:19 -0700
    Re: How to plot 2 curves on the same plot with different scales Jacare Omoplata <walkeystalkey@gmail.com> - 2011-04-03 13:07 -0700
      Re: How to plot 2 curves on the same plot with different scales Jiri <bok@karlov.mff.cuni.cz> - 2011-04-04 01:35 -0700
  Re: How to plot 2 curves on the same plot with different scales Rob Glaubius <rlglaubius@gmail.com> - 2011-04-04 05:17 -0700
    Re: How to plot 2 curves on the same plot with different scales eric948470 <eric948470@gmail.com> - 2011-04-06 07:09 -0700

csiph-web