 |
|
List Archives > 
Maple User Group List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[MUG] Re: Question about programming maple with graphic commands
| [MUG] Re: Question about programming maple with graphic commands |
|
Author: Raphael Giromini
Posted: Wed, 16 Oct 2002 01:42:25 +0200
|
>> From: Raphael Giromini "raph"
Hi MUG-Users,
Emrah AKYAR worte :
>My source code is like:
> > main:=proc()
> > local data,x,y;
> > data:=[]:
>...
> > while ... do
> > x:=evalf(...):
> > y:=evalf(...):
> > data := [ op(data), [x, y] ];
> > od:
One way to simplify your code is to do:
data:=NULL;
while ... do
x:=evalf(...):
y:=evalf(...):
data:= data, [x,y];
od:
plot([data]);
--
Raphael Giromini. -+- http://www.giromini.org/maple/
Universite Paris 7 - Denis Diderot, France.
|
[View Complete Thread]
Previous by date: [MUG] Maple and PseudoRandomGenerator, Jerome BENOIT
Next by date: [MUG] bug in Map ?, Jean Brillet
Previous thread: [MUG] Crashing in Maple 7 for Linux when removing output, Peter Schwenk
Next thread: [MUG] bug in Map ?, Jean Brillet
|
|
|