Re: plotting data in MuPAD
From: John Starrett (jstarret_at_sdc.org)
Date: 02/24/05
- Next message: flip: "Re: Maple bugs: An unknown elegant bug discovered by Jean-Michel Collard"
- Previous message: Brad Cooper: "Re: MuPAD bugs: series can return 6 terms only"
- In reply to: Ralf Hillebrand: "Re: plotting data in MuPAD"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 24 Feb 2005 16:55:03 -0700
Ralf Hillebrand wrote:
> John Starrett wrote:
>
>>> I find in the documentation that there is supposed to be something
>>> called Listplot, but when I try to use it, MuPAD says the command
>>> does not exist:
>>>
>>> plot(plot::Listplot(A, Style = Points, Color = RGB::Red))
>>> Error: plot::Listplot does not exist, see ?plot
>>>
>
> plot::Listplot was introduced in MuPAD 3.1. Is it possible that
> you have MuPAD Pro 3.0 and 3.1 on your computer? It seems to me
> that you have read the 3.1 documentation and try the above command in
> 3.0.
Yes, I think that is what is going on.
>> I solved the problem. For the benefit of anyone else who is interested:
>>
>> A:=import::readdata("C:/a.dat",NonNested):
>> Num:=nops(A);
>>
>> Adata := {}:
>> for i from 1 to Num do
>> [p, q] := [i,A[i]];
>> Adata := Adata union {[p, q]};
>> end_for:
>>
>> Bdata := coerce(Adata, DOM_LIST):
>
>
> or even shorter:
>
> Bdata := zip([$ 1..nops(A)], A, (x, y)->[x, y])
>
>> plot(plot::PointList2d(Bdata));
Thanks. I will try that. Do you know if anyone is using MuPAD for
research in Time Scales (measure chains)?
John Starrett
- Next message: flip: "Re: Maple bugs: An unknown elegant bug discovered by Jean-Michel Collard"
- Previous message: Brad Cooper: "Re: MuPAD bugs: series can return 6 terms only"
- In reply to: Ralf Hillebrand: "Re: plotting data in MuPAD"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|