multiple graphs in 1 plot

"John W. Eaton" <[email protected]> Thu, 7 Dec 2006 12:15:43 -0500
Newsgroups gmane.comp.gnu.octave.graphics
Message-ID <[email protected]>
Please use the help list.  This list (mostly dormant now) was for
disussions about the future of graphics in Octave.

Thanks,

jwe


On  7-Dec-2006, huub wrote:

| Hi,
| 
| I'm trying to get more than 1 graph in a plot, but so far I only get the 
| last one visible.
| 
| function [y1,y2] = test(x)
| y1 = x + 4
| plot(y1,'1')
| y2 = 2*x.^2 + 3*x + 2
| plot(y2,'2')
| endfunction
| 
| I can see y1 for a very short time. Then y2 is plotted and y1 isn't 
| visible anymore. Any solution to this?
| 
| Thanks,
| 
| Huub
| 
| _______________________________________________
| Octave-graphics mailing list
| [email protected]
| https://www.cae.wisc.edu/mailman/listinfo/octave-graphics