Re: plotting data in MuPAD

From: John Starrett (jstarret_at_sdc.org)
Date: 02/24/05


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



Relevant Pages

  • Re: Great SWT Program
    ... I think this syntax may go back to the Bourne shell. ... In most of the Unix shells I've used, as best I can remember, ... do requires launching an external command to massage some data, ... although how the documentation would lead a non-expert user to ...
    (comp.lang.java.programmer)
  • Single Source Documentation Woes
    ... provide the ability to single-source user manual documentation, ... | (WAP, HTML, etc.) | ... Application Name has the following command line options: ... To make life truly entertaining, ...
    (comp.programming)
  • Re: COPY bug with remote task as input.
    ... >:I think this is a bug in the COPY command. ... I cannot find it anymore in the VMS 7.3 documentation. ... This section seems to imply that any command which accepts an input file ... You should at least admit that the error message is confusing. ...
    (comp.os.vms)
  • Re: [RFC PATCH 1/3] Replace paravirt_probe with "platform type" boot header field
    ... out in boot loader protocol 2.04; see the documentation. ... *STABBITY STAB STAB STAB*. ... 2K for the command line. ...
    (Linux-Kernel)
  • Re: Matlab -- Venting, Plus Miscellaneous Questions
    ... There are no command lines. ... Matlab is obviously intensively command-driven -- which means, ... print or online documentation. ... calculations, but symbolic calculations keep showing some ridiculous ...
    (sci.math.symbolic)

Quantcast