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


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

Re: For loop not working as I expected - but now solved

Path csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: For loop not working as I expected - but now solved
Date Fri, 23 Feb 2018 18:50:07 +0100
Organization solani.org
Lines 21
Message-ID <p6pk8d$13p$1@solani.org> (permalink)
References <p69m96$82n$1@dont-email.me> <p6dti7$cpk$1@solani.org> <p6eh76$i4j$1@dont-email.me> <p6ejat$rqg$1@solani.org> <p6logm$ci3$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace solani.org 1519408205 1145 eJwNysEBwEAEBMCWuFhWOeHov4Rk3oPH1TvM4YbFnnTWDKyLyZeKk9G3MiSb+Lcc7mQxbFXuBxH1EJY= (23 Feb 2018 17:50:05 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Fri, 23 Feb 2018 17:50:05 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
Content-Language de-DE-1901
X-NNTP-Posting-Host eJwFwYEBwDAEBMCVgvdkHCX2H6F3bhR2gE74+p6QfVCi4950PLyqigw9TFO07pTtZyjh2PwMhBDU
X-User-ID eJwFwYEBwCAIA7CXZLSA54jS/09YQg+LmwgGKGqvxGgumpYmLVYozzmvSx896fPad3urMPgBJysRnw==
In-Reply-To <p6logm$ci3$1@dont-email.me>
Cancel-Lock sha1:NcbmBYg3SbS79RN+h9N7E7qc+Eg=
Xref csiph.com comp.graphics.apps.gnuplot:3888

Show key headers only | View raw


Am 22.02.2018 um 07:38 schrieb Ethan A Merritt:
> Karl Ratzsch wrote:
> 
> 
>> The command
>>
>>   plot [j=1:7] dataf ...
>>
>> should assign the value 1 to "j", and make a plot with abscissa
>> range[1:7]. (The assignment is not actually done, but the parser also
>> doesn't throw an error. It arguably should do one or the other, so
>> that's a small bug.)
>  
> No bug there.  The dependent variable becomes j rather than x,
> allowing you to say:
> 
>     plot [theta=1:7] sin(theta)

Yes, of course. Sorry for the noise.

  Karl

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


Thread

For loop not working as I expected Chris Elvidge <chris@mshome.net> - 2018-02-17 16:46 +0000
  Re: For loop not working as I expected Karl Ratzsch <mail.kfr@gmx.net> - 2018-02-19 08:15 +0100
    Re: For loop not working as I expected - but now solved Chris Elvidge <chris@mshome.net> - 2018-02-19 12:50 +0000
      Re: For loop not working as I expected - but now solved Karl Ratzsch <mail.kfr@gmx.net> - 2018-02-19 14:26 +0100
        Re: For loop not working as I expected - but now solved Chris Elvidge <chris@mshome.net> - 2018-02-19 14:22 +0000
          Re: For loop not working as I expected - but now solved Karl Ratzsch <mail.kfr@gmx.net> - 2018-02-19 16:11 +0100
            Re: For loop not working as I expected - but now solved Chris Elvidge <chris@mshome.net> - 2018-02-19 15:25 +0000
        Re: For loop not working as I expected - but now solved Ethan A Merritt <EAMerritt@gmail.com> - 2018-02-21 22:38 -0800
          Re: For loop not working as I expected - but now solved Karl Ratzsch <mail.kfr@gmx.net> - 2018-02-23 18:50 +0100

csiph-web