On Wednesday, July 8, 2015 at 2:37:59 PM UTC, kcrisman wrote:
>
> When I do the same for a 3d polyhedron, the background is white.
>>>
>>
>> Given that p3.show(whatever=15) does not raise an exception, I would say 
>> that 'transparent' is not supported for 3d plots and that your argument is 
>> ignored.
>>
>
> Yes, I believe that is the case.  There *is* the "opacity" keyword, e.g. 
> opacity=0.5, which might do what you are looking for - well, I'm not sure 
> what you are looking for exactly, but you can try it.
>

The "opacity" keyword controls the opacity of the polyhedron, not the 
background.

I was making an animation of the construction of a flat 1-cycle (a limit of 
1-cycles in R^3).    The construction added tinier and tinier 1-cycles at 
each step.

I made the frames using Polyhedron.plot(), then .save(), then used 
os.system() to invoke ImageMagick to stitch the frames together as an 
animated gif.

I had to plot the entire 1-cycle for each frame.

It would have saved processing time and storage space if I could have saved 
only a plot of the 1-cycles added at each step of the construction, with a 
transparent background, then overlaid that plot on the previous plots using 
ImageMagick.  Overlaying doesn't work when the latest image has a white 
background.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to