On Thu, Feb 24, 2011 at 1:22 PM, Mario Rodriguez <biomates at telefonica.net>wrote:
> El mi?, 23-02-2011 a las 10:56 -0500, Doug Stewart escribi?:
> >
> > Hi
> >
> >
> > I have an array that is holding some bfloat numbers and I want to plot
> > them.
> >
> >
> > I tried:
> > plot2d(difar[x],[x,1,200]);
> > plot2d: expression evaluates to non-numeric value somewhere in
> > plotting range.
> >
> >
> > but no plot shows up.
> >
> >
> > difar has made with
> > array(difar,270);
> >
> >
> > and was filled in a for loop with
> > difar[k]:ar[k]-z,
> >
>
> Hello,
>
> With graphic object 'points' of package draw you can plot lisp arrays,
> those created by 'make_array'.
>
> In case you are interested, describe(points) will show you some
> examples.
>
> --
> Mario
>
> Thank you Mario.
plot2d(points(ar));
No range given. Must supply range of the form [variable,min,max]
-- an error. Entering the Maxima debugger.
Enter ':h' for help.
plot2d(points(float(ar)),[x,1,30]);
plot2d: expression evaluates to non-numeric value everywhere in plotting
range.
plot2d: nothing to plot.
ar[1];
(%o31542) 0
(%i31543) ar[1];
(%o31543)
9.69153261428502821625790129965230188038979037207623497686b-1
(%i31544) ar[30];
(%o31544)
9.281877359682097494138780654461907159196579018188414951339355563575969b-1
(%i31545) float(ar[30]);
(%o31545) 0.92818773596821
(%i31546)
The ar array has numbers in it and should plot but I am still confused.
Doug