hints for set() command tags

Petr Mikulik mikulik at physics.muni.cz
Fri Jun 5 02:06:12 CDT 2009


> Furthermore, the set() command with two parameters only writes a list with 
> all possible options, while Octave prints an error message intead of such a
> help message:
> 
> 	> imagesc(1./hilb(9)); h=colorbar;
> 	> set(h,'yscale')
> 	error: set: invalid number of arguments
> 
> vs.
>  	>> imagesc(1./hilb(9)); h=colorbar;
> 	>> set(h, 'yscale')
> 	[ {linear} | log ]
> 
> This help message would be very welcome in order to actually know which 
> options one can set.
> 
> It seems there is no documentation for various "set", right?

Given the new drawing infrastructure in Octave, the missing documentation 
for various options/tags in set command seems to be an important issue. 
Unless people are skilled in Matlab, they cannot figure which options to use 
in set(). Could Octave write the list of possible options (radio buttons) 
instead of an error message? That would be a great help!

Could this feature still go into 3.2?

---
Petr Mikulik


More information about the Bug-octave mailing list