Stretto

260 Reputation

5 Badges

6 years, 87 days

MaplePrimes Activity


These are questions asked by Stretto

plot(['h'(floor(n))[1], 'h'(floor(n))[2]],n=1..10);
Error, (in plot) ifactors takes an integer or a factored integer

 

h simply uses ifactors. I can calculate with it no problem, e.g., h(3), h(10)... but in plot it does not work. I've tried convert, Integer, etc and nothing works.

I was plotting some 3d stuff and wanted to animate it. I used orientation in the plot3d to get the orientation I wanted. When trying to animate them the orientation is ignored.

Specifically though I'm suing Pk = plot3d(...);
then animate(display, [P1, ..., Pn]);
 

(more or less, my real code is more complex but that is the idea).

Where can I tell animate to use a specific orientation? I tried adding it to the options of display but it didn't work either. Seems animate and display completely ignore orientation.

 

 

 

How can I remove the extra whitespace around a 3D plot and also scale it so it takes up quite a bit of the window so I can see more detail?

If I use a density plot then I can set the size using

_SP := proc(P,sz::[posint,posint] := [1200,500])
  op(0,P)(remove(type,[op(P)],'specfunc(ROOT)')[],
          ROOT(BOUNDS_X(0),BOUNDS_Y(0),
               BOUNDS_WIDTH(sz[1]),BOUNDS_HEIGHT(sz[2]))):
end proc:

 

to get exactly what I want. With 3D plot there is a lot of whitespace. I'd rather use plot3d since it is more confirgurable but I need to be able to remove all that additional whitespace(which I guess has to do with rotation in 3D, but here I'm not rotating it, although I might want to in some cases).

 

Is there any way to get maple to use zero index offseting?

n[0] actually represents the first element?

 

Why can't I do double negatives and why is it so difficult to do simple mathematics with negatives?

 

(a - b)

 

want to simply rewrite this by substitution for a simple quick calculation, repalce a and b with their values, e.g.,

 

-3 - -5

 

Maple complains!

4*-10

 

maple complains!

 

This makes it impossible to not have to rewrite simple expressions just to get maple to work.

 

Surely there is a untary negative sign that I can use that will please maple?

 

 

3 4 5 6 7 8 9 Last Page 5 of 16