hints for set() command tags

Rob Mahurin rob at utk.edu
Fri Jun 5 05:07:17 CDT 2009


On Jun 5, 2009, at 3:06 AM, Petr Mikulik wrote:
>> 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!

Doesn't get(h) produce a list?

Cheers,
Rob

-- 
Rob Mahurin
Department of Physics and Astronomy
University of Tennessee 		865 207 2594
Knoxville, TN 37996 			rob at utk.edu





More information about the Bug-octave mailing list