awass

331 Reputation

10 Badges

20 years, 251 days

MaplePrimes Activity


These are replies submitted by awass

I too am having trouble with the ribbon interface. The symbols are hard for me to decypher, they whizz past and it is all a bit overwhelming. I understand that ribbons are now "in" but I would love to be able to revert to an older interface. I wonder how a new user deals with all those options flying by; is it intimidating? I have always felt that one of the big selling advantages of Maple was how quickly one could do something useful, e.g., plot(x^3+5 x^2 +9) or diff(sin(x^2),x) or even print("hello World") without any preambles or prevvious knowledge. 

My support for the ability to revert is based on recent experiences, see example below.

Here is a snippet of toy code:

restart;
for j to 5 do
    p || j := plot(sin(j*x), x = 0 .. 3);
end do;
with(plots);
display(p || (1 .. 5), insequence = true);

I have used this sort of thing for years. Now, when I execute this, the plot options I used to see, for example to play the 5 plots at a rate I choose or to advance 1 at a ime or play continuously etc. are no longer available. After quite a bit of hunting around I found these options in a much less convenient form on the right palette. 

I also struggled to find Maple Help until I remembered that ? plot would bring up the help page.

@acer Yes, that variant also works. Thank you for the suggestion.

I finally decided to override the plot command by creating a  list of x-values then a list L of h(7.7,x) values and then using pointplot(L,connect=true) to get the desired result. That is pretty fast.  I am glad you were able to identify the problem as arising from the parameter plot. I was truly perplexed.

@acer  I tried all the suggestions but only plot([ 'h(7.7,x)[1]', 'h(7.7,x)[2]', x=0..30 ]); worked. But since it worked I am a happy camper. Thank you and thanks for all the responses. I assumed plot generated a list xn of x-values, computed  the list h(7.7,xn) and then plotted that list. In fact, my workaround was to do exactly that and use pointplot which worked.

BTW, you are right that it a bit slow but I can live with that.

@acer If I create a bunch of files to save different items or different versions of the same item do I risk cluttering up my hard drive? As a matter of hygiene should I be erasing those files somehow when I am done?

I loooked for help with commands using the Programming Guide. That was my big  mistake; the Maple Users Manual is much more appropriate. 

@acer You are right (perhaps "write"?) the save command is exactly what is needed. I noticed I could also save several outputs easily
save p,q,"test.m";

but when i tried to read p ,"test.m"; that did't work.
I just enter read "test.m"; and then p and q are available. Okay that is fine.

I also tried to save r also by
save r,  "test.m";

but p and q were then apparently overwritten.

Is there a simple way of having a running file of variables I want to save or do I just enter save p,q,r, "test.m"; 

BTW, the help pages I was looking at were in online help, Programming, Input Output. I did not find those easy to navigete/

Thank you for showing how to do what I wanted to do.

As to my comments on with(plots) 

It was very useful in Release 1 of Maple to only load the plots package when needed because I only had 1 Mb of RAM and storage was a pair of 400Kb floppies. Now in 2026 cheap computers come with at least 8Gb RAM and 256Gb storage. The original plots package was GREAT for its time (you could maniipulate 3D plots with your mouse in Maple, not in MMA) so the modern plots package is probably not that much bigger and could be loaded automatically at startup or when Maple detected
a command like pointplot. No need to burden the user unnecessarily, 

Finally, about the typo I made with(Plots). 

As someone is sure to point out Maple is case sensitive. That overlooks that first and foremost Maple is a commercially available product and if Maple wants to stay a viable product it has to say The customer is always right. Autocorrect is available on every texting device, wordprocessing device etc. Maple could IF IT CHOOSES accomodate typos and errors of capitalization. Can you imagine a restaurant not taking your order because you did not place the napkin on your lap properly?
If Maple can easily undersatnd what is meant it could accept the intent or perhaps inquire if you meaant Describe (proc) instaed of describe (proc). As a Maple Ambassador for many years I strive to convince students that Maple is a very useful tool for their use not an electronic fussbudget . I illustrate that with plot(x^2) and diff(sin(x),x) and they are hooked. If they had to read some of the help pages their eyes would immediately gloss over. Please, forgive my typos as we forgive some of the strange choices of Maple syntax.

@C_R  I think my original post was a bit snarky; I apologize for that. I really was being sarcastic when I suggested that the dicumentation for the description option was sabotage, 

However, it would be very simple to write a few lines of code that would allow a user to write describe (f) or description(f) or Description (f) . There is a difference between being being picky and being precise. Successful products, web sites, etc. are user friendly. They bend over backwards to understand what the customer wants. 

An example is the Help facility. If you look up procedure you get many pages of detail nefore you get to an example. That is completely backwards from what would be helpful. Most people want a simple example followed by more complicated examples foloowed perhaps by something more encyclopedic-not the othe way round.

To verify my assertions ask yourself when you ever read the instructions for a new product/device/program before using it. Most of us cheat-the quickstart blurb is as far as we get.

I think Maple Help pages are written by very competent and knowledeable users/developers. That is not what I want. If I want to use some feature on my phone I ask a grandchild how to do it and get a straightforward answer.

@nm Many thanks. I looked at it for many hours without spotting my error.

I wonder if there is an AI "supervisor" that might be able to help with such errors. As I age I find I am more prone to waste time hunting for my mistakes.

@acer Thanks-I will check the document

@acer Thanks for clarification.

@dharr I think I get it. How does Maple know the size of the Array xpts?

Also, I am happy with eval(...,a=20) etc rather than parameters I though that was disparaged now.

@acer Thank you. I will copy your answer and apply it to my problem. 

What I would really like is the syntax to get a vector with entries y1(xn) corresponding to one parameter value and another vector with entries y2(xn) corresponding to another parameter value. The point being that I want the same xn values for each vector. I could of course just make up my list of xn's -say equally spaced over the range-and then call ds0lve 500 times for each parameter value but I am sure that if I call ans(1.7) where ans :=dsolev(eq...) it will compute many intermediate values abyhow so I thought I could speed things up by asking for those values. Since I suspect that dsolve uses adaptive step sizes the call for ans(1.7) with another parameter values might well have different xnn values.

@nm Many thanks.

@nm If I do

"If you do not want to explicitly add the read() to each worksheet which needs the shared code, you can put this read() command in your maple .ini file so it is read automatically each time you start/open a worksheet."

won't all that junk get added to all worksheets I open whether related to the project or not?

@acer 

Thank for the explanation. I never thought of opening the file ina text editor.

@acer 

Thanks for your suggestion.

I am a sloppy typist and I wonder if perhaps I enterred control something rather than option something when I was trying for a Greek lettter or some such. If the 'character"  was invisible that would explain why I could not figure out what was happening. How did you find out the XML property view="presentation" part?

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