## 80 Reputation

2 years, 218 days

## how to plot a graph with 3 coordinates i...

Maple

hello

i have 3 Arrays and i want to plot them i 2D,

for example :

y  := [1,2,3,4,5,6]

x1:= [10,20,30,40,50,60]

x2:= [0.1,0.2,0.3,0.4,0.5,0.6]

and i want to display at the graph for each y point the value of x1 and x2 by two axis (dualaxis)

any suggestions ?

## how to clear printing in a loop...

Maple

hello

i have a loop the evaulated and prints some variables, is there a way to clear the printing between each iteration?

example :

for i form 1 to 100 do

for j from 1 to 100 do

x:= 5*i*j:
if j mod 10 =0 then print(j/100): fi

od:
## clear the printing here ##
if i mod 10 =0 then print(i/100): fi

od:

## how to Export plots...

Maple

hello,

i want to export Export plots to jpg,

im using the following command (example of the idea) :

>for i from 1 to 5 do

fig:=plot(x*i,x=0..10):
Export("Fig.jpg", plot(sin), base = homedir):
od:

how do i make the export aumaticly change the name of the distany file - like Fig[i] or somthing so it wont run it over each iteration.
writing Fig[i] in the command does not work.

## executing columns in a Table in parallel...

Maple

hello
i have a Table in my worksheet;

it countains 3 coulmns, and each coulmns cointains a loop that requires about a day to evaluate.

is there a way to excute the 3 coulmns in parallel, there is no interaction between them and i cant seprete them into different worksheets.

## reflect 2d plot...

Maple

hello
i want to reflect a plot i have j:= plot(y(x),x=0..35) ,y(x) icludes heavside functions around  x=17.5 , for some reason maple using reflect function keeps returning the reflected function in the output and not just the plot. i would like to get rid of it .

reflect(j,[[17.5,0],[17.5,15]])
output : the reflected function of y(x)
the reflected graph.

thanks for the help

 1 2 Page 1 of 2
﻿