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


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

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

From eric948470 <eric948470@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: How to plot 2 curves on the same plot with different scales
Date 2011-04-06 07:09 -0700
Organization http://groups.google.com
Message-ID <5a87f1bb-6820-451a-8b42-9b4bf6d522d6@o26g2000vby.googlegroups.com> (permalink)
References <00c918df-6378-4b17-882d-eab03d01290d@x3g2000yqj.googlegroups.com> <7cf1ee26-d1c9-4bb1-a957-3694630f388a@l18g2000yqm.googlegroups.com>

Show all headers | View raw


Thanks all.

On Apr 4, 8:17 am, Rob Glaubius <rlglaub...@gmail.com> wrote:
> On Apr 3, 1:52 pm, 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
>
> You could also do this using the multiaxis capabilities. The short
> version is to use
>
> plot f(x) axes x1y1, g(x) axes x1y2
>
> assuming that your functions f and g live on the same domain. This
> puts f on the left y-axis and g on the right y-axis.
>
> The demo athttp://www.gnuplot.info/demo/multiaxis.htmlcovers some of
> the options for controlling ticks and labels.

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious 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