[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot open load file --version
From: |
Henry F. Mollet |
Subject: |
Re: Cannot open load file --version |
Date: |
Wed, 22 Aug 2007 20:01:35 -0700 |
User-agent: |
Microsoft-Entourage/11.1.0.040913 |
While the help file for plot.m needs to be updated, I suggest that
>> Cannot open load file '--version'
>> line 0: (No such file or directory)
Is due to something other than what was suggested by James.
Both
t = 0:0.1:6.3;
plot (t, cos(t), "-;cos(t);", t, sin(t), "+3;sin(t);");
and
t = 0:0.1:6.3;
plot(t, cos(t), "-", t, sin(t), "+");
legend("cos(t)", "sin(t)");
should work.
The first version specifies the key(s), the second version is using a legend
which can be placed anywhere and has other options (see help legend) but
when no position is specified it will look exactly like a key. In addition
there's a slight difference in terms of color specification between the two
versions.
Henry
on 8/22/07 10:56 AM, James Sherman Jr. at address@hidden wrote:
> I don't have octave currently available, but it seems that, that particular
> help file is out of date, or at least I am unfamiliar with its usage in that
> way.
> I would try it this way:
>
> t = 0:0.1:6.3;
> plot(t, cos(t), "-", t, sin(t), "+");
> legend("cos(t)", "sin(t)");
>
> I believe that is what you're looking for.
>
> James
>
> On 22 Aug 2007 16:24:34 -0000, jasti sri rangachowdary <
> address@hidden> wrote:
>>
>> Hai everybody,
>>
>> I am new for the Octave and just trying some examples to work with
>> octave.
>>
>> When I start plotting at octave shall with simple example, which is give
>> in 'help plot', I was not able to find any plot. Following are the errors..
>>
>> I am working on Linux platform and octave-2.9.13
>>
>> t = 0:0.1:6.3;
>> plot (t, cos(t), "-;cos(t);", t, sin(t), "+3;sin(t);");
>>
>> Cannot open load file '--version'
>> line 0: (No such file or directory)
>>
>> line 0: undefined variable: title
>>
>> error: Version numbers must be a single row
>> error: evaluating if command near line 73, column 3
>> error: called from `compare_versions' in file
>> `/home1/store1/OI-METHOD/octave-2.9.13/scripts/miscellaneous/compare_versions
>> .m'
>>
>> error: evaluating static command near line 35, column 5
>> error: evaluating if command near line 29, column 3
>> error: called from `__go_draw_axes__' in file
>> `/home1/store1/OI-METHOD/octave-2.9.13/scripts/plot/__go_draw_axes__.m'
>> error: evaluating switch command near line 57, column 4
>> error: evaluating for command near line 55, column 2
>> error: evaluating if command near line 37, column 7
>> error: evaluating if command near line 30, column 5
>> error: evaluating if command near line 29, column 3
>> error: called from `__go_draw_figure__' in file
>> `/home1/store1/OI-METHOD/octave-2.9.13/scripts/plot/__go_draw_figure__.m'
>> error: evaluating if command near line 61, column 6
>> error: evaluating if command near line 58, column 4
>> error: evaluating if command near line 56, column 2
>> error: evaluating for command near line 55, column 7
>> error: evaluating if command near line 38, column 5
>> error: called from `drawnow' in file
>> `/home1/store1/OI-METHOD/octave-2.9.13/scripts/plot/drawnow.m'
>>
>> Any help will be greatly appreciable.
>>
>> Ranga
>>
>>
>>
>>
>>
>> [image:
>> rakhi]<http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/sig
>> nature-home.htm/address@hidden/1399600_1393116/1399039/1?PARTNER=3&OAS_QU
>> ERY=null+target=new+>
>> _______________________________________________
>> Help-octave mailing list
>> address@hidden
>> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>>
>>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave