Re: [sage-support] Re: arrows in 3d field plots

2019-02-02 Thread Tevian Dray
>> Now to try to track down how to set jmol parameters in a web page... I've given up for now on using Sage for this project, as it turns out that Geogebra can accomplish what I need out of the box. For reference, the resulting webpage is: http://math.oregonstate.edu/bridge/ideas/fields

Re: [sage-support] Re: arrows in 3d field plots

2019-01-31 Thread Tevian Dray
> Hopefully, some day threejs will replace jmol as the default 3d viewer: > https://trac.sagemath.org/ticket/22408 Good, although I reiterate that it does not appear to respect the orientation flag. > Meanwhile, you can define a subdomain of E, U say, where the vector field > is everywhere

Re: [sage-support] Re: arrows in 3d field plots

2019-01-31 Thread Eric Gourgoulhon
Le jeudi 31 janvier 2019 06:52:10 UTC+1, Tevian Dray a écrit : > > >> You can use the plot functionality of vector fields on > >> Euclidean spaces to get better arrowheads: > > OK; I can get jmol to work with some browsers, although it is painfully > slow. But the results are very nice. > >

Re: [sage-support] Re: arrows in 3d field plots

2019-01-30 Thread Tevian Dray
>> You can use the plot functionality of vector fields on >> Euclidean spaces to get better arrowheads: OK; I can get jmol to work with some browsers, although it is painfully slow. But the results are very nice. >> And is there a way to disable the perspective view? >> I want the 2d-view seen

Re: [sage-support] Re: arrows in 3d field plots

2019-01-28 Thread Tevian Dray
>> You can use the plot functionality of vector fields on Euclidean >> spaces to get better arrowheads: Excellent! Thank you! >> You may also replace the last line by >> sage: show(xy, orientation=(0,0,0,0), viewer='threejs') Yes, I had to do that -- jmol froze my browser. I haven't had a

[sage-support] Re: arrows in 3d field plots

2019-01-28 Thread kcrisman
On Monday, January 28, 2019 at 4:54:49 AM UTC-5, Eric Gourgoulhon wrote: > > Hi, > > You can use the plot functionality of vector fields on Euclidean spaces to > get better arrowheads: > > sage: E. = EuclideanSpace() > sage: v = E.vector_field((x,y,0)) > sage: xy = v.plot(max_range=1,

[sage-support] Re: arrows in 3d field plots

2019-01-28 Thread Eric Gourgoulhon
Hi, You can use the plot functionality of vector fields on Euclidean spaces to get better arrowheads: sage: E. = EuclideanSpace() sage: v = E.vector_field((x,y,0)) sage: xy = v.plot(max_range=1, color='black') sage: show(xy, orientation=(0,0,0,0)) You may also replace the last line by

[sage-support] Re: arrows in 3d field plots

2019-01-27 Thread Tevian Dray
Thanks, Tom. So far as I can tell, your examples use "arrowsize" and "width" to control the arrows. But so far as I can tell, those parameters have no effect on 3d plots -- yours are all 2d. Am I missing something? I'm using the SageMathCell server to test; not sure if that affects the

[sage-support] Re: arrows in 3d field plots

2019-01-27 Thread Tom Judson
You can adjust the arrowheads. Look at http://faculty.sfasu.edu/judsontw/ode/html-20190111/firstlook03.html for some examples. On Sunday, January 27, 2019 at 10:11:47 AM UTC-6, Tevian Dray wrote: > > Can the formatting of arrows in 3d field plots be adjusted? > > I'm trying to make rotatable,