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


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

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

From Ethan A Merritt <EAMerritt@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: set range for second independent variable in special file '++'
Date 2017-03-26 12:30 -0700
Organization A noiseless patient Spider
Message-ID <ob94nq$vrh$1@dont-email.me> (permalink)
References (1 earlier) <oap0et$g16$1@dont-email.me> <oap546$3i0$1@solani.org> <oapapn$po7$1@dont-email.me> <oapaur$q4d$1@dont-email.me> <ob32kh$usr$1@solani.org>

Show all headers | View raw


Karl Ratzsch wrote:

> Am 20.03.2017 um 20:38 schrieb Ethan A Merritt:
>> Ethan A Merritt wrote:
>>> Karl Ratzsch wrote:
>>>> It seems I can only specify one independent variable with range for
>>>> '++'. Is that so?
>>>
>>> Yes, but...
>>> That's mostly because it's not clear how one could use it.
>>> If you have an example of a type of plot that this would allow,
>>> I'd be happy to look into adding it.
> 
> Hm, there are many, i think. The special filename "++" at the moment
> always directly maps the second independent variable to the y axis,
> but it could easily be meant to be sth else. Of course one can scale
> the values to the wanted sampling range in the "using" specifier, but
> you need a number of additional variables and it makes the script hard
> to read.

That much is a trivial change and I agree it is an improvement.

So as of today's CVS for the development version, '++' uses urange and
vrange for sampling rather than using xrange and yrange.
This does not by itself allow you to refer to the sampled variables
as "u" and "v" however, you'll still have to refer to $1 and $2.

I know of one minor downside to this change.
Currently you can't set u or v to log-scale, so with this change
you won't get nonlinear sampling on '++' even after "set log xy".
That can be added later.

	Ethan

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