[Scilab-users] Changing ticks, location, and labels of a colorbar in a sgrayplot

matacosta matiashs at hotmail.com
Wed Aug 14 15:25:18 CEST 2013


Hi All,

I plot an sgrayplot of a 3d surface. I have a nice contour plot with a
proper colorbar that I am adding before I plot with the sgrayplot. The
problem is that I would like to change ticks, location, and labels within
the colorbar. I am not so experienced, I guess it should be done with the
tlist function but I am having troubles to use it. My attemp is:

colorbar(cmin,cmax,,fmt="%.0f"); //actually I am not familiar neither with
the fmt formatting

fig = gcf();
    a1 = fig.children(1); //is this ok?
    a1.font_size = 4; //this works fine
    a1.auto_ticks(3)="off"; //here I am not sure if I should take the
colorbar as the z axis?
    a1.z_ticks=tlist(["ticks","locations","labels"]) //starting from here I
always get errors since I am not familiar how to finish the tlist

Thank you very much for your help.

Cheers,
Matias



--
View this message in context: http://mailinglists.scilab.org/Changing-ticks-location-and-labels-of-a-colorbar-in-a-sgrayplot-tp4027216.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list