acer

32348 Reputation

29 Badges

19 years, 328 days
Ontario, Canada

Social Networks and Content at Maplesoft.com

MaplePrimes Activity


These are replies submitted by acer

If your actual goal is the plot then perhaps you might be able to go straight to the plots:-implicitplot command.

Is there a reason why you cannot show us the actual code that defines f (either as plaintext or as an attachment uploaded here with the Mapleprimes editor's green up-arrow). If you provide it then knowing the range for y values -- and whether you want just one or several solutions x per y value -- would help.

Your Question is marked as being for Maple 6 (released in the year 2000). Is that correct?

 

If I recall, exporting a whole table of plots is also problematic is displayed using usual array plots, ie,
   plots:-display(Array([...]));

 

Why not provide your differential equations, either as plaintext or within an attached worksheet?

You shouldn't expect people to have to type them in from an image (even if it showed them).

@gdikal Why not attach your worksheet, so that others may see your definitions?

Are you missing a multiplication between brackets, after the (1 - theta(sP, sL)) term? That could be an explicit multiplication symbol, or a space if in 2D Input. Have you checked, to see whether calling your operator u results in a multiplication or a function call?

Please upload your worksheet and attach it. (What you are wanting ought to work, so it would help if we could see what is actually going on with it.)

Note that an animation can only have a single, static orientation (which you ought to be able to specify successfully). You can, however, use the Explore command or the viewpoint option to get the frames oriented dynamically as it "plays".

By the way in recent Maple versions you should be able to pass the size option for both 2D and 3D plots (and also to plots:-display), rather than utilize the _SP command you have in your Question.

@max125 Follow up details are useful.  You can add them as comment on the original, or as augmentation to the Question.

Keeping details in the same thread is more productive.

What platform (operating system) are you using. That information (along with Maple version, already here) can help.

Please don't post duplicates of this issue as separate Questions/Posts (with other names being help-queried).

Please be more specific about what effects you want here. Do you want a rescaling of the curve, or placement of the axis tickmarks or gridlines? Or both, or...?

@JAMET Could you upload a worksheet so that the intent is more clear?

@Anthrazit The various function calls in xmltree (to _XML_Element, etc) all have an attribute on them. The attribute is the name inert.

Attributes are not shown (usually) when you print a thing to output. See the Help page for attributes. For example, the values assigned to xmldoc and xmldocA are different, though they print the same.

The HasChild command seems to need that inert attribute, to work here.

The result from XMLDocument (or ParseString, and possibly ParseFile) has function calls which lack that attribute. So, unlike your original xmltree, the HasChild was not working as you wanted.

Hence I added a command that would recurse through the result from XMLDocument (or ParseString) and added the attribute to the function calls. And then HasChild worked as wanted on that modified structure.

@tomleslie That does not always work properly, eg. if the polynomial is not dense and lacks some term.

The problem is your use of coeffs. It is easily repaired. One may compare,

restart;
p := -31*x^5+7*x^4-23*x^2+94*x-48:

ListTools:-Reverse([coeffs(p)]);
                     [-48, 94, -23, 7, -31]

PolynomialTools:-CoefficientList(p,x);
                   [-48, 94, -23, 0, 7, -31]

[seq(coeff(p,x,i),i=0..degree(p,x))];
                   [-48, 94, -23, 0, 7, -31]

But it is quite fast (because the Matrix constructor and its scan=band[...] option scales poorly, sigh).

@nm The default is separate kernels for each sheet in a single GUI. If your setting was same/shared-engine then it must have been set that way at some point in time.

Btw, the -standalone option (for separate GUI jvms) is not documented. (I've mentioned it before on this site, though.)

There is some additional gain from -standalone, in that it will shield separate sessions from each other's GUI crashes. Another convenience is that you can open the very same .mw file more than once without having to rename it.

@Rouben Rostamian  Yes, the option -standalone works on MS-Windows as well as Linux.

Without that option then multiple/concurrent launches of the Maple Java GUI will cause the same jvm (java virtual machine) to be used.

The -standalone option makes the GUI instances run under separate jvm processes.

A significant effect of separate jvms is that a GUI crash in one can leave the other instances unaffected (if the host OS doesn't freeze, naturally).

You can add that -standalone option to the end of the target in the Desktop launcher icon's Properties. This is the first thing I do whenever I install a new Maple on Windows. (The option may also be passed into the bin scripts on Linux.)

Ten years ago the large initial footprint of the combined jvm & Maple GUI was significant relative to average total RAM size, and so using a shared jvm had nice resource savings. Now it is relatively a smaller portion.

@Tharoux What platform/operating-system are you on?

(Have you checked the tech support faqs, especially perhaps those related to java and posssibly OSX?)

First 151 152 153 154 155 156 157 Last Page 153 of 592