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


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

set range for second independent variable in special file '++'

From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject set range for second independent variable in special file '++'
Date 2017-03-20 08:36 +0100
Organization solani.org
Message-ID <oao0pn$80p$1@solani.org> (permalink)

Show all headers | View raw


Hi,

this is an example from the help:

  splot [-2:2][-2:2] sample [h=1:10] '+' using (cos(h)):(sin(h)):(h)

Simple enough. This gives an error, however

  splot sample [h=-9:9] [d=-0.2:0.2] '++' using (cos(h)):(sin(h)):(h+d)

. Can i set the range for the second independent variable of "++" and
still set the x,y display range independently?

I managed to do it plotting the numbers to a table, and then plotting
that with different (auto)ranging:

  set xr [-9:9]
  set yr [-0.2:0.2]
  set table $dat
  splot '++' using (cos(h)):(sin(h)):(h+d)
  unset table

  reset
  splot $dat w l

but I think I'm missing something. ?

  Karl

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


Thread

set range for second independent variable in special file '++' Karl Ratzsch <mail.kfr@gmx.net> - 2017-03-20 08:36 +0100
  Re: set range for second independent variable in special file '++' Ethan A Merritt <EAMerritt@gmail.com> - 2017-03-20 09:39 -0700
    Re: set range for second independent variable in special file '++' Karl Ratzsch <mail.kfr@gmx.net> - 2017-03-20 18:56 +0100
      Re: set range for second independent variable in special file '++' Ethan A Merritt <sfeam@users.sourceforge.net> - 2017-03-20 12:36 -0700
        Re: set range for second independent variable in special file '++' Ethan A Merritt <sfeam@users.sourceforge.net> - 2017-03-20 12:38 -0700
          Re: set range for second independent variable in special file '++' Karl Ratzsch <mail.kfr@gmx.net> - 2017-03-24 13:15 +0100
            Re: set range for second independent variable in special file '++' Ethan A Merritt <EAMerritt@gmail.com> - 2017-03-26 12:30 -0700
              Re: set range for second independent variable in special file '++' Karl Ratzsch <mail.kfr@gmx.net> - 2017-03-27 03:35 +0200
                Re: set range for second independent variable in special file '++' Ethan A Merritt <EAMerritt@gmail.com> - 2017-03-26 23:00 -0700
                Re: set range for second independent variable in special file '++' Karl Ratzsch <mail.kfr@gmx.net> - 2017-03-27 22:15 +0200
                Re: set range for second independent variable in special file '++' Karl Ratzsch <mail.kfr@gmx.net> - 2017-04-02 19:02 +0200
                Re: set range for second independent variable in special file '++' Ethan A Merritt <EAMerritt@gmail.com> - 2017-04-05 22:09 -0700

csiph-web