PatrickT

Dr. Patrick T

2153 Reputation

18 Badges

16 years, 140 days

MaplePrimes Activity


These are replies submitted by PatrickT

@Carl Love 

It would be great to have a webpage with a correspondence between the character display and its 1d notation. I vaguely remember acer explaining how to obtain them by using the palette and the mouse, which is how I got the star above. We would all love to have such a reference page I'm sure. No-one wants to have to use the mouse, do they?

[anecdote about mouses: former French president, Chirac, circa 1995, at a computer fair asked "so which one is the mouse?" and it became a famous phrase, where mouse was usually replaced by rat]

Carl, Preben, thanks a lot for your suggestions. I hadn't looked at random "shakes" because I was at a very preliminary stage of investigation, but these procedures will most definitely come in handy at a later stage. Thanks!

@acer 

I misunderstood how to use alias. I had the arguments backwards. Still, I'm surprised I can define an alias for gamma without receiving a warning that gamma is a protected constant. Also, according to ?alias, "An alias may be defined for any Maple object except a string or numerical constant", so isn't the ability to sucessfully define alias(gamma=whatever); a contradiction of that?

I think that alias was really what I was after.

Also, I just understood what γ stands for by typing `γ`; in a clean worksheet.

Thanks again!

@acer 

I misunderstood how to use alias. I had the arguments backwards. Still, I'm surprised I can define an alias for gamma without receiving a warning that gamma is a protected constant. Also, according to ?alias, "An alias may be defined for any Maple object except a string or numerical constant", so isn't the ability to sucessfully define alias(gamma=whatever); a contradiction of that?

I think that alias was really what I was after.

Also, I just understood what γ stands for by typing `γ`; in a clean worksheet.

Thanks again!

acer created this, which I have tested and used successfully:

http://www.mapleprimes.com/posts/125899-Presized-Plots

You may also want to refer to:

http://www.mapleprimes.com/questions/125945-Plot-Size-On-Export-With-Maple-15

Note that Maple 16 and 17 have *greatly* improved the quality of postcript plot exports (in 2D, not so much in 3D), worth upgrading if you have 2D plots.

Thanks acer,

I didn't know about 'local'. I did know about 'alias' but that knowledge didn't help: I had tried unprotect(gamma); followed by alias(gamma=`gamma`); but to no avail. I most certainly did not know about the ampersand+backquotes+semicolon trick!

My purpose, as Carl describes, is indeed to have an unevaluated gamma. The following clever use of alias has worked just fine in my worksheet:

restart;
alias(gamma=`γ`):


The reason I want to redefine gamma (with apologies to The Master of Us All, to Julian Havil, to William Dunham, and many others)  is that I am sharing my worksheets with coauthors who do not use Maple. I "print" the worksheets as pdf and send them the pdf: it's usually clear enough for them to follow the steps.

It so happens that in our paper we have g, gamma, G, and Gamma, and all are rather important variables in our computations, so it's important for me to have a prettyprinted gamma in the worksheet and pdf. In other circumstances I would have used g instead of gamma and made that clear in a comment at the top of the worksheet, but in this instance the whole exercise involves comparing the g, gamma, G, Gamma, and it will save my coauthors a lot of effort if they can see a gamma in the flesh.

Thanks acer,

I didn't know about 'local'. I did know about 'alias' but that knowledge didn't help: I had tried unprotect(gamma); followed by alias(gamma=`gamma`); but to no avail. I most certainly did not know about the ampersand+backquotes+semicolon trick!

My purpose, as Carl describes, is indeed to have an unevaluated gamma. The following clever use of alias has worked just fine in my worksheet:

restart;
alias(gamma=`γ`):


The reason I want to redefine gamma (with apologies to The Master of Us All, to Julian Havil, to William Dunham, and many others)  is that I am sharing my worksheets with coauthors who do not use Maple. I "print" the worksheets as pdf and send them the pdf: it's usually clear enough for them to follow the steps.

It so happens that in our paper we have g, gamma, G, and Gamma, and all are rather important variables in our computations, so it's important for me to have a prettyprinted gamma in the worksheet and pdf. In other circumstances I would have used g instead of gamma and made that clear in a comment at the top of the worksheet, but in this instance the whole exercise involves comparing the g, gamma, G, Gamma, and it will save my coauthors a lot of effort if they can see a gamma in the flesh.

Interesting, I hadn't heard of remove_RootOf.

When I searched for RootOf in Help->Maple Help, from within Maple, it didn't get listed.

I did manage to find the help file this way:

?remove_RootOf;

http://www.maplesoft.com/support/help/Maple/view.aspx?path=DEtools/remove_RootOf


Interesting, I hadn't heard of remove_RootOf.

When I searched for RootOf in Help->Maple Help, from within Maple, it didn't get listed.

I did manage to find the help file this way:

?remove_RootOf;

http://www.maplesoft.com/support/help/Maple/view.aspx?path=DEtools/remove_RootOf


With all these java issues, forgot to say that these apps are very nice, and thanks for the effort!

@Alejandro Jakubi

apparently the java version that gets shipped with openjdk-7-jre is currently 7.21.

I also tried with chromium: it automatically sends you to the java website to download the latest version, but otherwise also worked. 

The only plugin I have in Firefox is "Shockwave Flash". Strange ...

@Alejandro Jakubi 

Tested Doug's Linear Phase Plane Analyzer on Windows and kUbuntu:

Windows 7x64

Java, latest (v7.25)


Firefox, latest (v22) = ok

Opera, latest (v12.16) = no (java enabled, but I've had java problems with Opera before, shame as it's my favourite browser)

Chrome, latest (v28) = yes (took several attempts to get it to work)

Internet Explorer, latest (v10) = no (shows a Java logo for a while, then blank)

 

Kubuntu 12.04

openjdk-7-jre

Firefox, latest (v22, also v19) = ok

Opera, latest (v12.16) = ok

So I've had no problem with Firefox. But Opera worked on Linux but not on Windows, so java appears to have its quirks.

@Xucu 

There are some useful tips there:

http://www.mapleprimes.com/questions/121021-Dsolve-Event-Handling-Question-General
http://www.mapleprimes.com/questions/125273-Dsolve-Events-How-To-Control-For-A-Sign-Change
http://www.mapleprimes.com/questions/125614-Dsolve-Events-How-To-Build-An-Efficient-Loop

I second that, what is the game about?

In any case, some great code to look at! Thanks.

@ostadfar 

Now someone should be able to help. This is not 1D maple input, so I'm not sure how it works. It looks like this to me:

plot3d(`&x`(`&x`(`&x`(`&x`(128*1.2, 10^(-3))*1, 10^(-14)), l), 10^(-6))/`&x`(Pi, (`&x`(d, 10^(-6))+`&x`(2*l, 10^(-6))*0.85e-1)^4), d = .1 .. 1.5, l = 5 .. 50, axes = box, font = [TIMES, ROMAN, 13]);

1 2 3 4 5 6 7 Last Page 3 of 93