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


Groups > comp.graphics.apps.gnuplot > #1629 > unrolled thread

new "if / else" commands : examples

Started bybryan <bryanlepore@gmail.com>
First post2013-02-14 12:55 -0800
Last post2013-02-15 11:47 -0800
Articles 5 — 2 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  new "if / else" commands : examples bryan <bryanlepore@gmail.com> - 2013-02-14 12:55 -0800
    Re: new "if / else" commands : examples sfeam <sfeam@users.sourceforge.net> - 2013-02-14 13:06 -0800
      Re: new "if / else" commands : examples bryan <bryanlepore@gmail.com> - 2013-02-14 13:17 -0800
        Re: new "if / else" commands : examples sfeam <sfeam@users.sourceforge.net> - 2013-02-14 16:55 -0800
          Re: new "if / else" commands : examples bryan <bryanlepore@gmail.com> - 2013-02-15 11:47 -0800

#1629 — new "if / else" commands : examples

Frombryan <bryanlepore@gmail.com>
Date2013-02-14 12:55 -0800
Subjectnew "if / else" commands : examples
Message-ID<86441528-59df-4906-8d0f-598cacb8f70e@googlegroups.com>
gnuplot 4.6 patchlevel 0 (I should update this soon...)

I poked around for some examples of using the new "if / else" commands - should I find them in the usual places?

... (particularly good would be examples in which histograms are generated)...

[toc] | [next] | [standalone]


#1630

Fromsfeam <sfeam@users.sourceforge.net>
Date2013-02-14 13:06 -0800
Message-ID<kfjjj5$9at$1@dont-email.me>
In reply to#1629
bryan wrote:

> gnuplot 4.6 patchlevel 0 (I should update this soon...)
> 
> I poked around for some examples of using the new "if / else" commands -
> should I find them in the usual places?

The stats.dem file is an example.
   http://gnuplot.sourceforge.net/demo_svg_4.6/stats.html

> ... (particularly good would be examples in which histograms are
> generated)...

if { 
   command 1
   command 2
} else {
   command 3
   command 4
}  

doesn't really have anything to do with plot styles.  
You can use any commands you like inside the brackets.

[toc] | [prev] | [next] | [standalone]


#1631

Frombryan <bryanlepore@gmail.com>
Date2013-02-14 13:17 -0800
Message-ID<69030f44-6d3e-4ad4-85a0-ee8c50bf2353@googlegroups.com>
In reply to#1630
On Thursday, February 14, 2013 4:06:23 PM UTC-5, sfeam wrote:
> doesn't really have anything to do with plot styles.  
> 
> You can use any commands you like inside the brackets.

ok, I think I get it.

but - dumb question - I suppose putting those after "plot" is forbidden.

[toc] | [prev] | [next] | [standalone]


#1632

Fromsfeam <sfeam@users.sourceforge.net>
Date2013-02-14 16:55 -0800
Message-ID<kfk106$b2l$1@dont-email.me>
In reply to#1631
bryan wrote:

> On Thursday, February 14, 2013 4:06:23 PM UTC-5, sfeam wrote:
>> doesn't really have anything to do with plot styles.
>> 
>> You can use any commands you like inside the brackets.
> 
> ok, I think I get it.
> 
> but - dumb question - I suppose putting those after "plot" is forbidden.

Correct.

What are you trying to do, exactly?

[toc] | [prev] | [next] | [standalone]


#1639

Frombryan <bryanlepore@gmail.com>
Date2013-02-15 11:47 -0800
Message-ID<8688e274-efda-4992-8684-105780e09467@googlegroups.com>
In reply to#1632
On Thursday, February 14, 2013 7:55:14 PM UTC-5, sfeam wrote:
> > but - dumb question - I suppose putting those after "plot" is forbidden.
> 
> Correct.
> 
> What are you trying to do, exactly?

I think that's for another thread - so how about I start a new one.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web