I'd love to see a possibility to specify the
color/style of the Gridlines/minor Gridlines
seperately.
Currently there is only the color of the axes, which
includes axes color, gridline color, tick color,
ticklabel color (this imitates the MATLAB behaviour
which also lackes the possibility to define gridline
color)
e.g. define a new property: GridColor, taking a RGB
vector or color character.
so that (for example)
figure;
plot( 0:0.1:pi, sin(0:0.1:pi), 'bx-');
set(gca, 'GridLineStyle','-','GridLineColor',[0.35
0.35 0.35]);
grid on;
would give a sin() plot with solid line, light gray
grid lines.
I view of (possibly) further refinement one could also
define XGridColor, YGridColor, ZGridColor, but one can
discuss if seperate properties are necessary.
Good work!
keep going
benjamin
Logged In: YES
user_id=136223
Are these properties matlab compatible?
Shai
Logged In: NO
sorry for the delay - I was offline for one week.
What do you mean by 'matlab-compatible'? Matlab does not
offer any functionality regarding seperate gridline colors
(as of R14SP3). This means, such an Option is not available
in Matlab. So in this sense, no they are not matlab
compatible.
I did a search on mathworks, this topic came up some years
ago but was (obviously) never continued, so I do not know
what mathworks plans in this direction.
benjamin
Logged In: YES
user_id=136223
OK,
I'll look into it and try to implement this. I agree it
would look nice.
Shai