DJ Clayworth

218 Reputation

6 Badges

19 years, 256 days

MaplePrimes Activity


These are answers submitted by DJ Clayworth

There is an answer to this on the How Do I... forum. David Clayworth Maplesoft GUI Developer
Plotting a small circle is probably best done with pointplot, combining it with the original plot using 'display'. Pointplot plots symbols at given positions. An example with a small circle at the two discontinuity points is: a := plot(piecewise(x < 0, -1, x >= 0, 1)): b := plots[pointplot]([[0, 1], [0, -1]], symbol = circle): plots[display](a, b); To plot part circles you will need plottools[arc], which allows you to plot arcs of varying radius, position and angle. Use 'display' to combine them with the main plot. David Clayworth Maplesoft GUI Developer
There is currently no way to do this in Maple. However you may create your own tickmarks, with any label you choose, on the Y axis and thus make the axis look reversed. See help plot/axis for more details. David Clayworth Maplesoft GUI Developer
The command above seems to fail for reasons that don't appear to have anything to do with your problem. Would you mind posting a small worksheet file that demonstrates the problem? Is this with Maple 10? David Clayworth Maplesoft GUI Developer
Hi. If your only reason for using PLOT structures is to use AXESTICKS then I would strongly advise using the regular plot() commands instead. Everything you can do with AXESTICKS you can also do with options to plot commands. PLOT structures are normally only used for advanced plotting that cannot be achieved through the normal commands. If you are relatively new to Maple, and reached the plot/structure help page by entering "PLOT" into the help system, try entering "plot" instead. This describes the commands that are normally used to create plots in Maple. Even if you already have a PLOT structure and you are trying to add axes to it I would recommend display() command instead, like this: a:=PLOT(...): display(a,axes=...) If this doesn't help could you give an example of what you are trying to do? David Clayworth Maplesoft GUI Developer
You can, however, add labels to the top and/or right provided you don't want them on the bottom and left as well. To get different placements you need to use the "axis=" option (note that this is different from "axes="). The "axis" option can apply to one or both axes "axis=" applies to both, "axis[1]=" applies to the horizontal axis and "axis[2]=" applies to the vertical axis. "Axis" takes the suboption "location" (among others) which controls the location of the axis. "location=high" puts the axis at the highest value of the plot, "location=low" on the lowest. e.g. To get axes at the bottom and right of a plot use: plot(sin, axis[2] = [location = high], axis[1] = [location = low]) See the help page for "plot/axis" for more info. David Clayworth Maplesoft GUI Developer
There is currently no way built into Maple to detect discontinuities in 3D surfaces. Unfortunately the 3D case is a little harder than the 2D case. David Clayworth Maplesoft GUI Developer
When you load a saved worksheet with plot in it, the plots should come back exactly as you saved them. However if you re-execute the worksheet then all the commands will be re-run - this will re-generate the and will overwrite their previous output. This sounds like what is happening, since you say the PlotBuilder is rerun. Using the 'plot' from the right-click menu creates a new command and executes it, resulting in a plot. Making changes to that plot changes the plot but not the command that generated it. When you re-execute the worksheet changes to the plot are forgotten. You are probably re-executing the worksheet (e.g. by pressing the three-exclamation-point button) when you load it. if you don't do that you should see the plots as you saved them. The best way to deal with this is instead of using the right-mouse menu to create a plot from an expression, use the Insert/Plot menu to create an empty plot. Then drag all the expressions you want onto the plot and make any modifications. That plot should come back from a reload (and re-execute) exactly as you left it. If you want to use the PlotBuilder make a new execution group, use it to create the plot, copy the resulting plot to where you want it to be, and delete the execution group where you ran the plotbuilder. David Clayworth Maplesoft GUI Developer
There is currently no way to programmatically change the size of a plot. The intention is that if you need to change anything programmatically you will use the embedded components. Is there a reason why embedded plot is not appropriate for your application? David Clayworth Maplesoft GUI Developer
I'm afraid there is currently no ability to do true volumetric plots in Maple. However if you can find the bounding surfaces of the shape so described and draw those surfaces it should look the same. David Clayworth Maplesoft GUI Developer
The easiest way to OR the expressions is to reverse the signs of all the inequalities and reverse the arguments of optionsfeasible and optionsexcluded. David Clayworth Maplesoft GUI Developer
I'm afraid there is currently no way to change the position of the legend, or title, on a plot. David Clayworth Maplesoft GUI Developer
You can insert hyperlinks into Maple documents. However you cannot do it in 2D Math. You have to switch to text mode. Press the 'text' button at the top left of the window, or press F5. Once you are in text mode go to the 'insert' menu and choose 'Hyperlink'. You can insert links to URLs, other Maple worksheets, help topics, Maplets or email. Once you have created a hyperlink you can edit it using the 'Hyperlinks' entry on the edit menu, or the 'properties' entry on the context menu when the cursor is in the hyperlink. David Clayworth Maplesoft GUI Developer
First 6 7 8 Page 8 of 8