gkokovidis

2355 Reputation

13 Badges

20 years, 132 days
Draeger Medical Systems, Inc.

 

 

Regards,
Georgios Kokovidis
Dräger Medical

MaplePrimes Activity


These are replies submitted by gkokovidis

From the help page for ?plot: 

The plot(v1, v2) calling sequence creates a curve from the points with x-coordinates v1 and y-coordinates v2, where v1 and v2 are lists or Vectors. 

There is an example there with the <> notation.

The two commands below are equivalent.

plot(Vector(L1), Vector(L2));

plot(<<L1>|<L2>>);

Regards,

Georgios Kokovidis

Dräger Medical

From the help page for ?plot: 

The plot(v1, v2) calling sequence creates a curve from the points with x-coordinates v1 and y-coordinates v2, where v1 and v2 are lists or Vectors. 

There is an example there with the <> notation.

The two commands below are equivalent.

plot(Vector(L1), Vector(L2));

plot(<<L1>|<L2>>);

Regards,

Georgios Kokovidis

Dräger Medical

I added one more step than needed.  ?coeff is sufficient.  Sometimes I type faster than I think.  Thanks for removing the confusion.

Regards,

Georgios Kokovidis

Dräger Medical

I added one more step than needed.  ?coeff is sufficient.  Sometimes I type faster than I think.  Thanks for removing the confusion.

Regards,

Georgios Kokovidis

Dräger Medical

@acer Thank you.  I have to remember this one.

@acer Thank you.  I have to remember this one.

For an inline plot object, in an existing worksheet, as you have above, this is not possible, as far as I know.  This question has come up before, but as of Maple 14, I am not aware of a solution.  It can be done with Maplets, ,or when you export the plot, but that is not what you are looking for.

 

Regards,

Georgios Kokovidis

Dräger Medical

For an inline plot object, in an existing worksheet, as you have above, this is not possible, as far as I know.  This question has come up before, but as of Maple 14, I am not aware of a solution.  It can be done with Maplets, ,or when you export the plot, but that is not what you are looking for.

 

Regards,

Georgios Kokovidis

Dräger Medical

You can use the green up arrow to upload your file.

 

Regards,

Georgios Kokovidis

Dräger Medical

Try changing your I to Ii or something else, and see if this fixes your problem.  Maple uses I to represent one of the square roots of -1.

restart:

with(Units):UseSystem('FPS');

b:=1*Unit('ft');

d:=1*Unit('ft');

Ii:=(b*d^3)/12;

 

 

   (1)

I^2;

                            (2)

I:=(b*d^3)/12;

Error, illegal use of an object as a name

 

 

Download units.mw

 

Regards,

Georgios Kokovidis

Dräger Medical

Try changing your I to Ii or something else, and see if this fixes your problem.  Maple uses I to represent one of the square roots of -1.

restart:

with(Units):UseSystem('FPS');

b:=1*Unit('ft');

d:=1*Unit('ft');

Ii:=(b*d^3)/12;

 

 

   (1)

I^2;

                            (2)

I:=(b*d^3)/12;

Error, illegal use of an object as a name

 

 

Download units.mw

 

Regards,

Georgios Kokovidis

Dräger Medical

Your code from above worked for me.  You could also use print to accomplish the same thing.

restart:

for i to 3 do for j to 3 do print(i*j) end do end do:

 

 

 

 

 

 

 

 

(1)

restart:printlevel:=2:

for i to 3 do for j to 3 do i*j end do end do;

 

 

 

 

 

 

 

 

(2)

 

Download forloop.mw

Regards,

Georgios Kokovidis

Dräger Medical

Your code from above worked for me.  You could also use print to accomplish the same thing.

restart:

for i to 3 do for j to 3 do print(i*j) end do end do:

 

 

 

 

 

 

 

 

(1)

restart:printlevel:=2:

for i to 3 do for j to 3 do i*j end do end do;

 

 

 

 

 

 

 

 

(2)

 

Download forloop.mw

Regards,

Georgios Kokovidis

Dräger Medical

From ?backslash - continuation and escape character

  • Note to DOS and Windows users: when typing filenames, which use the backslash as a directory separator, you can either type each backslash as two backslashes, or you can use forward slashes.

plotsetup(jpeg,plotoutput="c:\\homework\\picture\\plotexport.jpg");

 

Regards,

Georgios Kokovidis

Dräger Medical

From ?backslash - continuation and escape character

  • Note to DOS and Windows users: when typing filenames, which use the backslash as a directory separator, you can either type each backslash as two backslashes, or you can use forward slashes.

plotsetup(jpeg,plotoutput="c:\\homework\\picture\\plotexport.jpg");

 

Regards,

Georgios Kokovidis

Dräger Medical

First 7 8 9 10 11 12 13 Last Page 9 of 24