[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: axes labels on errorbar plots
From: |
Henry F. Mollet |
Subject: |
Re: axes labels on errorbar plots |
Date: |
Fri, 21 Nov 2003 10:55:39 -0800 |
User-agent: |
Microsoft-Entourage/10.1.1.2418 |
octave:4> errorbar(x,y,sigy)
error: __errplot__: unrecognized format character: ''
>From "help errorbar":
`~' Set yerrorbars plot style (default).
Apparently I need to set the default to get the expected graph with
errorbars for y using:
octave:16> errorbar(x,y,sigy, "~") /then works.
Henry
GNU Octave, version 2.1.35 (powerpc-apple-darwin6.2).
on 11/20/03 4:43 PM, Quentin Spencer at address@hidden wrote:
> Putting the xlabel and ylabel commands after the errorbar command fixes
> the problem.
>
> Michael B Krypel wrote:
>
>> When plotting with the errorbar function, the axes labels are not
>> displayed at all. Any suggestions?
>> Thanks!
>>
>> here's a sample script:
>> #!/usr/bin/octave -q
>> x=1:100;
>> y=3.*x+4;
>> sigy=sqrt(y);
>> xlabel('The X-Axis');
>> ylabel('The Y-Axis');
>> errorbar(x,y,sigy)
>> #end of script
>>
>>
>
>
>
>
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
>
> Octave's home on the web: http://www.octave.org
> How to fund new projects: http://www.octave.org/funding.html
> Subscription information: http://www.octave.org/archive.html
> -------------------------------------------------------------
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------