Tue 23 Jul 2013 03:14:00 PM UTC, comment #4:
I made a mistake in the comment below.
The following works to deal with subplots,
such as turning grid marks on/off:
gca1 = subplot(1,2,1);
plot(1:20);
gca2 = subplot(1,2,2);
plot(1:40);
grid(gca1, "on");
grid(gca2, "on");
But, the grid button in the figure menu only acts
on the "last" plot.
Also,
1. grid(gca1, "on");
returns: error: grid: argument must be a string
if gca1 is not a valid axis handle.
2. hold(gcax,"on"); works, and if gcax is not a valid
axis handle it returns a better message:
error: Invalid call to hold. Correct usage is:
So, for the current devel system and fltk the main
problem is that there is no menu button, or other
means to change "subplot focus". And, the grid
error message needs fixing.
|