[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnuplot-info-beta
Subject:    Re: [OT] octave to gnuplot
From:       Gaël Varoquaux <gael.varoquaux () normalesup ! org>
Date:       2005-06-10 10:29:28
Message-ID: 20050610102928.GC17293 () clipper ! ens ! fr
[Download RAW message or body]

  Yes, that was the obvious simple answer.

  so here is what I did :

echo "tee -a logfile | gnuplot" > gp.sh
chmod u+x gp.sh
octave
> gnuplot_binary="./gp.sh"
> plot((sin(0:0.1:1))
> hold on
> plot(cos(0:0.1:1))
> exit

and here are the contents of ./logfile :

set data style lines
set nologscale
set nopolar
pl '/tmp/oct-KvIS79' u 1:2 t "line 1"
set nologscale
set nopolar
rep '/tmp/oct-882efm' u 1:2 t "line 2"

  So if I am not wrong the replot command is indeed used by octave.

--
  Gaël


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic