xlabel not visible on plot

Ben Abbott bpabbott at mac.com
Tue Jun 30 08:56:19 CDT 2009


 On Tuesday, June 30, 2009, at 07:55AM, "Lukas Reichlin" <lukas.reichlin at swissonline.ch> wrote:
>> I had been unaware the aquaterm could save its windows contents as  
>> eps (pdf too).
>>
>> In any event, line 45 of gca.m is (should be) ...
>>
>> 	h = axes ();
>>
>> What happens if you type
>>
>> 	clear all
>> 	close all
>> 	axes
>> 	plot (1:10)
>>
>> also, what does your path look like (just type "path")?
>>
>> Ben
>
>Yes, line 45 is
>	h = axes ();
>
>For the first time,
>	clear all
>	close all
>	axes
>	plot(1:10)
>delivered a simple plot. Then I tried to run the m-file again. It  
>didn't work, I got the same error message as before. Afterwards, I  
>tried those four commands again and I got the following error:
>error: invalid use of script in index expression
>error: called from:
>error:   /Applications/Octave/Octave.app/Contents/Resources/share/ 
>octave/3.2.0/m/plot/gca.m at line 45, column 9
>error:   /Applications/Octave/Octave.app/Contents/Resources/share/ 
>octave/3.2.0/m/plot/__plt_get_axis_arg__.m at line 63, column 4
>error:   /Applications/Octave/Octave.app/Contents/Resources/share/ 
>octave/3.2.0/m/plot/plot.m at line 178, column 18
>

I installed the control package and I tried your script with octave-3.2.x (developers sources). I do not get the error above.

Please try running the script I've attached (it is yours from your initial email, with the axes position changed).

If it works for you, please send me a script that does not work.

Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lukas.m
Type: application/octet-stream
Size: 1536 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090630/e732ef50/attachment.obj 


More information about the Octave-maintainers mailing list