|
From: Dan <vi5...@ya...> - 2019-07-31 16:16:43
|
On Thu, 27 Jun 2019, Patrick Dupre wrote:
> Can I make a subroutine like
> sub F () {
> list of gnuplot calls ;
> }
Yes. In Gnuplot 5.0, you can define such a subroutine by, for example
mysub = "set terminal x11 1; plot x**a; set terminal x11 2; plot x**b"
then call that subroutine by
a = 2.0
b = 3.0
@mysub
--
Kind regards,
Dan
|