[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem about plotting
From: |
Ben Abbott |
Subject: |
Re: problem about plotting |
Date: |
Fri, 13 Nov 2009 18:01:33 -0500 |
On Nov 13, 2009, at 12:49 PM, Jerry Wu wrote:
>
> On Nov 13, 2009, at 6:07 AM, Ben Abbott wrote:
>
>> On Friday, November 13, 2009, at 04:33AM, "Jerry Wu" <address@hidden> wrote:
>>> Hi I have problem plotting the graph,
>>> It shows me the message:
>>>
>>> octave-3.2.3:4>
>>> multiplot> set palette file "-" binary record=64 using 1:2:3:4;
>>> ^
>>> line 0: Gray scale not sorted in gradient.
>>>
>>>
>>> I use:
>>> Mac OS 10.5.8
>>>
>>> GNU Octave, version 3.2.3
>>> Octave was configured for "i386-apple-darwin8.11.1".
>>>
>>> G N U P L O T
>>> Version 4.2 patchlevel 6
>>> last modified Sep 2009
>>> System: Darwin 9.8.0
>>>
>>> X11 - 2.3.2
>>>
>>> So how can I fix the problem?
>>>
>>> Thanks a lot!!!
>>
>> Can you provide us with a simple example so that we may duplicate the
>> problem?
>>
>> Ben
>
>
> I use simple equations like
>
> x=0:90;
> plot x = sin(x)
>
> or from the sample from octave "help plot"
>
> t = 0:0.1:6.3;
> plot (t, cos(t), "-;cos(t);", t, sin(t), "+3;sin(t);");
>
> Thanks.
The first isn't proper octave syntax. Did you mean ...
x = 0:90;
plot (x, sin(x))
That works fine with no error.
Your 2nd example also works.
When you try these two examples do they produce the message below?
>>> multiplot> set palette file "-" binary record=64 using 1:2:3:4;
>>> ^
>>> line 0: Gray scale not sorted in gradient.
>>
Ben
p.s. please bottom post so that other may follow along, and take care that you
reply-all. Thanks!