Stretto

260 Reputation

5 Badges

6 years, 89 days

MaplePrimes Activity


These are questions asked by Stretto

I was playing around with some of the maple examples(specifically the knots) and all the plots seem difficult to visualize in 3D... well, more difficult than they should.

In some cases the plots look more like projections and 2D because the graphical representation does seem to project in to the depth of the screen in a natural way.

 

Mainly it happens when rotating when some of the curve's appear to stay in front due to the highlighting and size issues.

 

I'm not sure exactly what the problem is but I imagine it definitely can be improved. It may be simply that there are no other depth cues in the plot to make things more real.

 

1. I'd like anti-aliased edges. The edges of the plot are hard and not correct coloring wise(do not fade like in real life).

2. Some type of depth perspective where the size changes with depth in to the screen in a meaningful way.

3. Proper coloring of this. Maple seems to handle the lighting correctly but it is far too weak to give the impresson of depth

 

I think maple essentially does all this(except probably AA, although there is probably a setting somewhere) but it seems they are not properly tweaked for maximum realism. I played with the lighting and projection and it seems to help a little but not much.

 

Any ideas on how to improve this? Ideally something that doesn't have to be set every plot.

add(q[k],k=1..5)

 

I'd like to be able to display a general result such as

q_1 + q_2 + ... + q_n

 

ideally maple would do all the special stuff for me, e.g., somehow I could do

add(q[k],k=1..2..n)

but I can't even seem to get a nice output manually that doesn't involve a lot of printing code.

Normally the wheel mouse will scroll a file like it does in just about every other program... but when the mouse is over a code edit region it does nothing ;/ As one is scrolling with the wheel and a code edit region pops up this breaks the flow and requires hoops, I don't like hoops!

 

Seems most mouse funcitons do not work well in the region. Just trying to select and drag doesn't scroll the region.

I have a proc f(a,b)

 

For example

m := n->piecewise(type(n,even),0, 1):
f := proc(a,b)
    m(a*b);
end;

 

when I execute f(a,b) I get 1!!

 

for some reason the type is returning that it is not even, even though the expansion needs to be delayed.

I did this because mod was also doing this. I replaced it so I could undefine m and actually get a general expansion in terms of m.

 

Is there any way to get it to delay the expansion? I guess I need to check if the type is a "variable" or not an itneger and just return it.

 

I've created

 

m := n->piecewise(type(n,even),0, type(n, integer), 1, M(n)):

 

which seems to work but this is not ideal because sometimes M is returned even if an integer is used when used in other expressions. I suppose it is how ever maple figures out how evaluate things.

 

 

I have several plots where I use display(a,b,c). Maple displays them with display(actual plot of a, actual plot of b, ...).
I've tried adding insequence but nothing and also tried passing them as sets or lists. In earlier versions I could use display(plots) and it would display all the plots on one plot together but now maple always separates them. I'd rather have the old behavior.

How do I get them to plot on the same plot and is there any way to set it as a global ooption?

First 11 12 13 14 15 16 Page 13 of 16