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


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

create custom command

From francesco lucci <lucciud@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject create custom command
Date 2011-08-05 06:50 -0700
Organization http://groups.google.com
Message-ID <ef373f22-74d5-449a-82ce-deb65d29709f@r18g2000vbs.googlegroups.com> (permalink)

Show all headers | View raw


Hi all,

i have a gnuplot script A that load several scripts Bs that load a
script C that performs only the plot commands with some variables
defined in A and Bs:
------------
plot datafile using 1:(sqrt(column(var))) index slab1  title name1 w l
ls 1, \
     datafile using 1:(sqrt(column(var)))  index slab2  title name2 w
l ls 2, \
     datafile using 1:(sqrt(column(var)))  index slab3  title name3 w
l ls 3, \
     datafile using 1:(sqrt(column(var)))  index slab4  title name4 w
l ls 4
-----------

Everything  works fine and i generates automatically 10s of plots. But
i was wondering if there is a way to define a new command in A, that
then i can execute without loading extra files?

Thank you for any idea...

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


Thread

create custom command francesco lucci <lucciud@gmail.com> - 2011-08-05 06:50 -0700

csiph-web