Mercurial > forge
changeset 6607:4581fe98fadd octave-forge
Warn about non-visible plots
author | etienne |
---|---|
date | Fri, 22 Jan 2010 05:50:23 +0000 |
parents | 981058e1fbd8 |
children | 42c82fbc2981 |
files | extra/gnuplot/inst/g_demo.m extra/gnuplot/inst/g_ez.m |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/extra/gnuplot/inst/g_demo.m Fri Jan 22 05:29:58 2010 +0000 +++ b/extra/gnuplot/inst/g_demo.m Fri Jan 22 05:50:23 2010 +0000 @@ -10,6 +10,8 @@ image_tpl = "g_demo_plots-%i.eps" printf ("Plotting two dashed circles w/ a connection\n"); + printf ("\n\tNote: You may need to resize the window to see the plots\n\n"); + gg = g_new("COL",3,"geometry",[256,256]); tt = linspace (0,2*pi,65); xx = [sin(tt);cos(tt)]'; gg = g_data (gg,"-join","-step",3,"x",xx,xx/2);
--- a/extra/gnuplot/inst/g_ez.m Fri Jan 22 05:29:58 2010 +0000 +++ b/extra/gnuplot/inst/g_ez.m Fri Jan 22 05:50:23 2010 +0000 @@ -457,6 +457,8 @@ %!demo +%! printf ("\n\tNote: You may need to resize the window to see the plots\n\n"); +%! %------------------------------------------------- %! im = rand(16,31); %! im(3:10,5:25) = linspace(0,0.5,8)'*ones(1,21)+ones(8,1)*linspace(0,0.5,21); %! g_ez ("title","A random grey image","plot",im, "img")