[Scilab-users] Changing ticks, location, and labels of a colorbar in a sgrayplot
    matacosta 
    matiashs at hotmail.com
       
    Thu Aug 15 09:58:12 CEST 2013
    
    
  
Hi Samuel,
Thank you for your answer. Unfortunately, I am still having problems. The
code now looks:
YL=[0;1];
TL=["zero";"one"];
colorbar(cmin,cmax,,fmt="%.0f");
cb= gce();
   cb = fig.children(1);
   cb.font_size = 4;
   cb.auto_ticks(2)="off";
   cb.y_ticks = tlist(["ticks","locations","labels"], YL, TL);
I get an error of recursive extraction (error 250). I do not get why because
I am not extracting before any property, this happens at the line of the
fig.children
If I comment that line I have always get the error that the property does
not exist for this handle.
Thank again for your time.
Cheers,
Matias
--
View this message in context: http://mailinglists.scilab.org/Changing-ticks-location-and-labels-of-a-colorbar-in-a-sgrayplot-tp4027216p4027229.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
    
    
More information about the users
mailing list