DJ Clayworth

218 Reputation

6 Badges

19 years, 253 days

MaplePrimes Activity


These are replies submitted by DJ Clayworth

That's a valid way of doing it. I would however not recommend constructing plot structures directly if there is another way to do it. The PLOT structures do not have the error handling that the commands do.

David Clayworth Maplesoft GUI Developer

This works for me too in Standard GUI Maple 10 and 11.02 and other versions that we have here. The plots do not look good when first loaded, but on re-execution they look as expected.

If you see something that doesn't work would you mind sending it to Maplesoft Technical Support.

Thanks

David Clayworth Maplesoft GUI Developer

This works for me too in Standard GUI Maple 10 and 11.02 and other versions that we have here. The plots do not look good when first loaded, but on re-execution they look as expected.

If you see something that doesn't work would you mind sending it to Maplesoft Technical Support.

Thanks

David Clayworth Maplesoft GUI Developer

I see your problem. The only thing I can suggest is to plot against the log of x.

plot((1 - exp( -sqrt(10^x) ) ) / sqrt(10^x),x=-7..5,labels=["log(x)",""]);

 To be more sophisticaed you can override the tickmarks on the x axis:

plot((1 - exp( -sqrt(10^x) ) ) / sqrt(10^x),x=-7..5,tickmarks=[[-6=10^(-6),-4=10^(-4),-2=10^(-2),0=1,2=10^2,4=10^4],default]);
 

David Clayworth Maplesoft GUI Developer

I see your problem. The only thing I can suggest is to plot against the log of x.

plot((1 - exp( -sqrt(10^x) ) ) / sqrt(10^x),x=-7..5,labels=["log(x)",""]);

 To be more sophisticaed you can override the tickmarks on the x axis:

plot((1 - exp( -sqrt(10^x) ) ) / sqrt(10^x),x=-7..5,tickmarks=[[-6=10^(-6),-4=10^(-4),-2=10^(-2),0=1,2=10^2,4=10^4],default]);
 

David Clayworth Maplesoft GUI Developer

The natural approach, using display, does not work because 'inequal' works by creating a 'feasible' polygon covering the whole plot area and then overlaying it with other polygons to obscure the excluded areas. Both component plots therefore cover the whole area of the plot and so combining them with display doesn't do what you expect.

Sorry I don't have any positive suggestions right now.

David Clayworth Maplesoft GUI Developer

The natural approach, using display, does not work because 'inequal' works by creating a 'feasible' polygon covering the whole plot area and then overlaying it with other polygons to obscure the excluded areas. Both component plots therefore cover the whole area of the plot and so combining them with display doesn't do what you expect.

Sorry I don't have any positive suggestions right now.

David Clayworth Maplesoft GUI Developer

This is actually a known bug in Maple. axesfont should modify the font of all tickmark labels in the plot.

David Clayworth

Maplesoft GUI Developer

What you are seeing here is a little bit of Maple history. Way back in the mists of time it was decided that when the user turned on 'show legend' legends should be displayed, even if no legend information was attached to any curve in the plot. Arbitrary legend strings were attached to each curve ("Curve 1","Curve 2" etc.) Shortly after that it became clear that for some plots created by Maple there were things that really should never have a legend - construction lines for example, or outlines of a polygon. The string you see is the solution to this. It wasn't intended for general use, and I would recommend avoiding it. And yes, it has to be exactly the string mentioned by Georgios Kokovidis to work. David Clayworth Maplesoft GUI Developer
In the standard interface the above setting uses the same driver as exporting with the menus, as part of our drive to cut down on the number of differences between the way plots look when generated in slightly different ways. In cmaple it still uses the old postscript driver. David Clayworth Maplesoft GUI Developer
This is a known bug which will be fixed in a future release. In the meantime you can get high quality output by reducing the numpoints value. 1000 is much higher than you need for good quality. 100 gives good results with sin(x). David Clayworth Maplesoft GUI Developer
Thanks for the feedback, Glenn. It's always useful to know what our customers are thinking. I'll pass this on to the relevant people (I'm not responsible for the WHOLE interface) If you have any more comments, the "Product Suggestions" forum is a good place to write them. Welcome to the knowledge that your professors are not infallible; although he was absolutely right about 'display' which is the key to getting multiple lines on one plot. David Clayworth Maplesoft GUI Developer
Thanks for the feedback, Glenn. It's always useful to know what our customers are thinking. I'll pass this on to the relevant people (I'm not responsible for the WHOLE interface) If you have any more comments, the "Product Suggestions" forum is a good place to write them. Welcome to the knowledge that your professors are not infallible; although he was absolutely right about 'display' which is the key to getting multiple lines on one plot. David Clayworth Maplesoft GUI Developer
The legends bug is fixed in the 11.01 release of Maple; if you don't have that yet you can make the other legends appear by changing their colour to something not used by one of the other curves. Alternatively making them dashed, or thicker, should also work. David Clayworth Maplesoft GUI Developer
The legends bug is fixed in the 11.01 release of Maple; if you don't have that yet you can make the other legends appear by changing their colour to something not used by one of the other curves. Alternatively making them dashed, or thicker, should also work. David Clayworth Maplesoft GUI Developer
4 5 6 7 8 Page 6 of 8