jjweimer

126 Reputation

7 Badges

18 years, 25 days

MaplePrimes Activity


These are replies submitted by jjweimer

For the sake of those of us who are still learning the syntax, could you please also give a specific example (in this case of incorrect versus correct usage of "use" vs ":-").

For example, based on your statements, is what I have below safe or not? What would be the safer way? What would be the equivalent form of the same code with your "use ...." example?

test1:=proc(txt) plots:-setoptions(title=txt) end proc:
p1:=plot(x^2,x=0..2):
plot1()
  test1(`My First Plot`):
  plots:-display({p1})
end proc:

Thanks.

--

JJW

For the sake of those of us who are still learning the syntax, could you please also give a specific example (in this case of incorrect versus correct usage of "use" vs ":-").

For example, based on your statements, is what I have below safe or not? What would be the safer way? What would be the equivalent form of the same code with your "use ...." example?

test1:=proc(txt) plots:-setoptions(title=txt) end proc:
p1:=plot(x^2,x=0..2):
plot1()
  test1(`My First Plot`):
  plots:-display({p1})
end proc:

Thanks.

--

JJW

Yes. I did arrive there, however did not see a corresponding link between the symbol and the command "use".

I modified things correspondingly (as per this minimal example) ...

-----

test1:=proc(txt) plots:-setoptions(title=txt) end proc:
p1:=plot(x^2,x=0..2):
plot1()
  test1(`My First Plot`):
  plots:-display({p1})
end proc:

plot1()

--------------

All runs were subsequently successful.

Thank you!

--

JJW

Yes. I did arrive there, however did not see a corresponding link between the symbol and the command "use".

I modified things correspondingly (as per this minimal example) ...

-----

test1:=proc(txt) plots:-setoptions(title=txt) end proc:
p1:=plot(x^2,x=0..2):
plot1()
  test1(`My First Plot`):
  plots:-display({p1})
end proc:

plot1()

--------------

All runs were subsequently successful.

Thank you!

--

JJW

For now, I created my entire document in the proper flow sequence, made sure it was all correct as I wanted it, and then re-structured sections manually (copy/paste) to a desired report format. Starting in this format, when I make changes, I only need to remember to run the appendix sections before the main body.

I will re-build the entire document later using embedded content as I learn this new aspect of Maple (on less time-critical projects).

Thanks for the prompt help!

--

JJW

For now, I created my entire document in the proper flow sequence, made sure it was all correct as I wanted it, and then re-structured sections manually (copy/paste) to a desired report format. Starting in this format, when I make changes, I only need to remember to run the appendix sections before the main body.

I will re-build the entire document later using embedded content as I learn this new aspect of Maple (on less time-critical projects).

Thanks for the prompt help!

--

JJW

Thanks for the information to confirm my thoughts and the extra info about other graphics formats that might be importable.

I am also very disappointed that modern graphics formats, especially PNG and PDF, are not supported as export/import in Maple. Of course, the Mac OS has all the needed free conversion utilities for TIFF to anything else, and the program from which I am importing supports TIFF export, so the lack of PNG/PDF import/export in Maple is a bother not a show stopper. As a side note, I have to wonder how the TeX/LaTeX export in Maple handles graphics (perhaps as EPS that thereby requires distiller), but this is a subject for a different thread.

As to the references that I might want to preview other symbolic math packages to find what I need (which is not germane to what I asked), our university site license gives me Maple for free, I am mostly quite happy using it, and I've reached the point where learning the nuances of other packages is to be done when it would be required rather than as an adventure down a potential rabbit hole.

--

JJW

1 2 Page 2 of 2