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 H

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 regul

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 c

[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 answ

[sage-support] arrows in 3d field plots

2019-01-27 Thread Tevian Dray
Can the formatting of arrows in 3d field plots be adjusted? I'm trying to make rotatable, 3d versions of 2d field plots. I can get most of what I want with, say: xy=plot_vector_field3d((x,y,0),(x,-1,1),(y,-1,1),(z,-1,1),colors='black') show(xy,orientation=(0,0,0,0)) but I'd really like the

Re: [sage-support] Re: Cartan moving frame formalism

2018-12-10 Thread Tevian Dray
Let me start by confirming that I have successfully used SageManifolds to implement the several calculations I wanted to make using the Cartan moving frames formalism. So first a big "thank you" for developing this code! > If you find some missing functionalities and you would like to > implement

Re: [sage-support] Re: Cartan moving frame formalism

2018-12-06 Thread Tevian Dray
>> The answer to your question is essentially "yes" ... Thank you for your detailed response and links. I had in fact found some of them when searching, but clearly hadn't read them carefully enough. In particular, I had missed the use of vector_frame in the documentation of Affine Connections,

[sage-support] Has the Cartan moving frame formalism been implemented in Sage?

2018-12-05 Thread Tevian Dray
Such an implementation would have 2 parts: 1. *Defining the objects:* The connection 1-forms, torsion 2-forms, and curvature 2-forms are all indexed sets of differential forms. They are not tensorial, but the index labels behave in many ways like tensor components. In particular, there are "

Re: [sage-support] dynamic variable names

2018-12-01 Thread Tevian Dray
>> Use the globals() Python dictionary. Works perfectly; thanks! -- 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 sage-support+unsubscr...@googlegroups.com. To p

[sage-support] dynamic variable names

2018-12-01 Thread Tevian Dray
How can I create variable names programmatically, then assign values to them? I've tried creating variables with something like var('q'+str(n)) but my attempts to assign a value to such a variable have been unsuccessful. The underlying problem is that I do not know in advance how many variabl

[sage-support] Re: Right way to kill notebook server on single-user machine

2018-05-03 Thread Tevian Dray
erhead when starting jupyter. On Thursday, May 3, 2018 at 2:47:51 PM UTC-7, Nils Bruin wrote: > > On Thursday, May 3, 2018 at 2:32:22 PM UTC-7, Tevian Dray wrote: >> >> Finally had a chance to test this; yes it works -- although it is >> apparently possible to send the two kil

[sage-support] Re: Right way to kill notebook server on single-user machine

2018-05-03 Thread Tevian Dray
Finally had a chance to test this; yes it works -- although it is apparently possible to send the two kill commands too close together. Thank you very much. Have to say it's a bit of a kluge, though -- the design assumption that notebooks will always be started in shell windows that stay open

[sage-support] Right way to kill notebook server on single-user machine

2018-04-16 Thread Tevian Dray
I'm a relatively new Sage user, trying Jupyter for the first time. OS is Ubuntu 14.04; Sage version is 8.1. Starting Jupyter from the command line (sage -n jupyter) works as expected, but so far as I can tell the only way to shut down the notebook server after closing the browser is via ctrl-c