 |
|
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: Emrah Akyar
Posted: Mon, 21 Oct 2002 09:21:31 +0300
|
>> From: "Emrah Akyar" "eakyar"
Thanks Raphael,
It is realy simplfying my code :-)
But I want to use plot command between the
while ... do
...
od
commands. Is it possible?
Thanks...
Emrah AKYAR
-----Original Message-----
>> 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] Re: Maple and PseudoRandomGenerator, Carl Devore
Next by date: [MUG] Maple and Octave, Brad Camroux
Previous thread: [MUG] Re: Question about programming maple with graphic commands, Raphael Giromini
Next thread: [MUG] Maple and Octave, Brad Camroux
|
|
|