650 Reputation

11 Badges

3 years, 256 days

MaplePrimes Activity

These are replies submitted by Anthrazit


I do actually see other choices for those scenarios.

  1. A segment could be treated in the same way as a line. In that case both intersections or projections could be outside of the line.
  2. They could return a "false" value, if the points are outside.

Personally I think I'd like the first solution best.

In that case I'd expect the geometry:-IsOnLine function to return true if the point is on the segment, or false of it outside.


For the moment I'll have to accept that code is called twice.

But someone from Maple should have a look at that.


The solution with a button is not an option. Here's a screenshot of a part of the input in my sheet, and that is just a part of it. Every change in the input fields should trigger one - and only one - call to the software.

But I've played around a bit more with different other components, and this one is a bit interesting. The slider doesn't give multiple calls, but the Maplet apparently does. Even stranger is a combo of a slider and the Maplet.


This one pops up 2 times only, which is the same amount that I have in my real code.

I don't think that the problem is in the Maplets package, due to the behaviour in the other code which is including a couple of subroutines.

The problem apparently is in the DocumentTools package.


I'm not sure if you understood the question, because your answer doesn't seem to take up my point here.

If I am correct you are trying to answer why those graphs might be of different form, and your answer is that the scaling might be constrained or not.

That was not my point. As far as I can see both plots in the same graphics (the sin-curve and the point) scale exactly the same and are on the right place. Switching between scaling constrained and not changes its vertical scale, but nothing else.

Might point is - as I have tried to show with the screenshot - that Maple does not use the available space of the plot component when scaling is constrained. Apparently it uses a fixed size of space which size is determined by the centered figure of the plot (with scaling constrained). Any panning of the graph will cut it.


Could you try to enter the plot, and pan upwards or downwards?

I assume that by running the workbook it automatically centers the curves, so you won't see my point until you move it manually.


Not sure if I see what you are trying to tell me.

Here's a screenshot of what I mean (see image 3). When boundaries are not defined, the plot is cutoff within the plot component.

Plot 3 is the same as plot 2, but the curve is moved manually.

In my opinion the plot should always use the available space of the component, and not cut its contents.

I think I managed to find the solution.


restart; with(geometry)

point(B, 2, 0)







[2, 0]



F := plot(cos(x), x = -Pi .. Pi, y = -Pi .. Pi, style = line)``


DocumentTools:-SetProperty("Plot_test", value, display(F, draw(B)))





I can copy when you use the geometry:-draw function to display the geometry figures, but I can't find any geometry:-plot function in Maple, and don't see how I can merge other kinds of plots, e.g. by using plots:-display.

Thanks a lot both of you, your help is much appreciated.

Again it would be very useful to have such code snippets included in Maple Help.


Thanks a lot.

I don't really understand why this works, but as long as it does it is fine for me.

Deinstallation and reinstalling network tools fixed the problem.


Thanks a lot.

I've filed request to Maple support, we'll se what they come up with.

I've had something similar, but just in MathContainers.


I'd assume that as well.

Just to clarify - I am not talking about the Maple installation itself - just the networktools which are installed on the server.

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