From help-request at octave dot org Sat Jan 29 19:18:56 2005 Subject: Automate setting plot ranges From: "John W. Eaton" To: "Robert A. Macy" Cc: help at octave dot org Date: Sat, 29 Jan 2005 20:19:09 -0500 On 29-Jan-2005, Robert A. Macy wrote: | Lost everything with yet ANOTHER head crash. | | I asked earlier how to automate the setting of the range in | plotting. People kindly jumped in with something like... | | y1=min(y);y2=max(y); | cmd=sprintf("gset xrange [%y1:%y2]/n",y1,y2); | eval(cmd); | | or something like that. | | Would you please post the answer again? | | I tried doing an archive search but could not find the | thread, or series of emails. Was it the thread starting here http://www.octave.org/octave-lists/archive/help-octave.2004/msg03039.html ? jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------