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


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

Re: new "if / else" commands : examples

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: new "if / else" commands : examples
Followup-To comp.graphics.apps.gnuplot
Date 2013-02-14 13:06 -0800
Organization gnuplot development team
Message-ID <kfjjj5$9at$1@dont-email.me> (permalink)
References <86441528-59df-4906-8d0f-598cacb8f70e@googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


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.

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


Thread

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

csiph-web