[sage-support] Re: plots in 3d are not published?
Thanks so much! Linda -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plots in 3d are not published?
On 1/18/12 10:39 PM, Jason Grout wrote: On 1/18/12 6:47 AM, LFS wrote: Thanks Jason for everything you are doing. I would really appreciate it if you would write here when we can publish 3d plots in sagenb. They should work on sagenb.org now. (though I should add that jmol plots that were published between about last June and now need to be re-published to get them to work correctly) Thanks, Jason -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plots in 3d are not published?
On 1/18/12 6:47 AM, LFS wrote: Thanks Jason for everything you are doing. I would really appreciate it if you would write here when we can publish 3d plots in sagenb. They should work on sagenb.org now. Thanks, Jason -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plots in 3d are not published?
Thanks Jason for everything you are doing. I would really appreciate it if you would write here when we can publish 3d plots in sagenb. Thanks kcrisman for the confirm. At least I now know that I am not doing it wrong. Best Linda On Jan 18, 1:36 am, kcrisman wrote: > > > BTW: I cannot get mesh=True, dots=True or plot_points=[n,m] to work > > > with plot3d. > > > I'm not sure what is going on there, and can't look at it right now. > > Sadly, this is (at least)http://trac.sagemath.org/sage_trac/ticket/9708 > and has been open for a while :( -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plots in 3d are not published?
> > > BTW: I cannot get mesh=True, dots=True or plot_points=[n,m] to work > > with plot3d. > > I'm not sure what is going on there, and can't look at it right now. Sadly, this is (at least) http://trac.sagemath.org/sage_trac/ticket/9708 and has been open for a while :( -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plots in 3d are not published?
On 1/17/12 5:36 PM, LFS wrote: Hiya Jason. That is what I assumed. But I need the 3d plots to publish :) So back to canterbury and 4.7. Considering there haven't been any bug reports about that feature, I'll try to move it into sagenb.org soon. BTW: I cannot get mesh=True, dots=True or plot_points=[n,m] to work with plot3d. I'm not sure what is going on there, and can't look at it right now. Thanks, Jason -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plots in 3d are not published?
Hiya Jason. That is what I assumed. But I need the 3d plots to publish :) So back to canterbury and 4.7. BTW: I cannot get mesh=True, dots=True or plot_points=[n,m] to work with plot3d. There is no sample at the documentation: http://www.sagemath.org/doc/reference/sage/plot/plot3d/plot3d.html I was making a plot3d options notebook for myself (as I can't remember anything after about 2 hours :)). I tried it on 5.0 just to see if they worked in a newer version. They don't (or I don't understand how to use them). http://test.sagenb.org/home/pub/24 Best, Linda -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plots in 3d are not published?
On 1/17/12 3:02 PM, LFS wrote: Hiya Jason, Yes, it works - that is, 3d plots are published. http://test.sagenb.org/home/pub/23/ However, I am confused; is this a stable version of sage? Should I work on this notebook? Sorry, I don't really understand all these different websites. test.sagenb.org is an unstable version of Sage that has cutting-edge features so that people can test them. I'd suggest not using it for any serious work. sagenb.org is the main Sage server that you should use. Changes will eventually make their way to sagenb.org. Thanks, Jason -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plots in 3d are not published?
Hiya Jason, Yes, it works - that is, 3d plots are published. http://test.sagenb.org/home/pub/23/ However, I am confused; is this a stable version of sage? Should I work on this notebook? Sorry, I don't really understand all these different websites. Thanks, Linda -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plots in 3d are not published?
On 1/17/12 12:48 PM, LFS wrote: Thanks so much everyone for working on this. 1. Tested again at sagenb with newly published worksheet: http://sagenb.org/home/pub/4060/ The 3d plots are still NOT being published. The change is live on test.sagenb.org, not on sagenb.org. Thanks, Jason -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plots in 3d are not published?
Thanks so much everyone for working on this. 1. Tested again at sagenb with newly published worksheet: http://sagenb.org/home/pub/4060/ The 3d plots are still NOT being published. They publish on both the 4.7 http://sage.math.canterbury.ac.nz/home/pub/141/ and 4.7.1 http://dev.math.canterbury.ac.nz/home/pub/21/ 2. @kcrisman You are correct; I did get the frame. I will check with higher opacity and report back. Best, Linda -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plots in 3d are not published?
On Jan 3, 10:34 am, LFS wrote: > Thank-you for all the replies! I appreciate all the help. > > == 2d plots are generated with jmol in the published worksheets; > == 3d plots are NOT generated. > == (If possible) I want my user/viewer to be able to view the > published worksheet without having to install anything (except be java > enabled). > > @kcrisman and William Stein > I tried: > > var('x y z') > plane1=implicit_plot3d(x+y==1,(x, -1, 1), (y, -1,1), (z, > -1,1),color='blue', opacity=.3) > plane1.show(viewer='tachyon') > > and nothing plotted on my worksheet (or in the published version). > Also - how would I show more than one plot? I think if you up the opacity to 1 you will see it. Probably tachyon is much more sensitive to this than Jmol? Maybe Niles or Marshall (people who've used tachyon quite a bit) have some comments on this. I assume you did get the frame, at least? When I plotted this I got just the frames, even with opacity=.5 it was pretty small. - kcrisman -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plots in 3d are not published?
I just tried publishing a worksheet with jmol plots on our campus server, v4.6, and the published page includes the interactive jmol. -- David -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plots in 3d are not published?
It does seem that this should be happening more or less automatically. I do notice that sage uses jmol_applet, which doesn't appear to be part of jmol, so I assume it should be loaded from sagenb.org. My javascript console for a published page shows an error, that jmol_applet is not defined. The code in the page all seems to be correct for running the applet--that is, jmol seems to be set up and initialized and the jmol_applet is called with a reasonable parameter. As Linda points out, the server at Canterbury seems to do this perfectly, I assume running a stock sage server (though maybe not...). -- David -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plots in 3d are not published?
On 1/14/12 5:55 PM, David wrote: It does appear that this may be a misconfiguration of sagenb.org. In addition to the canterbury site, I've published a worksheet with jmol plots on our internal server, v. 4.6, and it works fine. When I try to do it at sagenb.org, my javascript console complains that jmol_applet is undefined. This seems to be some sage-specific applet, not part of jmol. I've pushed a fix to test.sagenb.org [1]. Can people test it? Existing published worksheets won't work, but things should work if you publish a new worksheet, and possibly if you republish a worksheet. Thanks, Jason [1] https://github.com/sagemath/sagenb/pull/26, which needs review -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plots in 3d are not published?
It does appear that this may be a misconfiguration of sagenb.org. In addition to the canterbury site, I've published a worksheet with jmol plots on our internal server, v. 4.6, and it works fine. When I try to do it at sagenb.org, my javascript console complains that jmol_applet is undefined. This seems to be some sage-specific applet, not part of jmol. -- David -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plots in 3d are not published?
I have noticed that this published worksheet has plotted 3D plots http://sage.math.canterbury.ac.nz/home/pub/83/ Maybe because it is on a different server? BTW: Katie - if you are reading this, I love this worksheet. I wanted to write you and rate it, but I didnt' see how. Thanks! -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plots in 3d are not published?
Thank-you for all the replies! I appreciate all the help. == 2d plots are generated with jmol in the published worksheets; == 3d plots are NOT generated. == (If possible) I want my user/viewer to be able to view the published worksheet without having to install anything (except be java enabled). @kcrisman and William Stein I tried: var('x y z') plane1=implicit_plot3d(x+y==1,(x, -1, 1), (y, -1,1), (z, -1,1),color='blue', opacity=.3) plane1.show(viewer='tachyon') and nothing plotted on my worksheet (or in the published version). Also - how would I show more than one plot? Thank-you again, Linda -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plots in 3d are not published?
On Jan 2, 7:50 pm, William Stein wrote: > On Mon, Jan 2, 2012 at 4:27 PM, Jason Grout > wrote: > > On 1/2/12 3:09 PM, LFS wrote: > > >> Hi - I am a new user of sage, but I very much like the ability to do > >> (better than) mathematica quality mathematics and 3d plots legally :) > >> However, when I publish my sage worksheet so that I can link to it and > >> a non-sage user can view it, the 3d plots are not generated (neither > >> plot3d nor implicit_plot3d nor plot_vector_field3d). The 2d plots are > >> generated. (See for example:http://sagenb.org/home/pub/3905/) > >> Is there a reason for this? Thanks. Linda > > > If a user edits the published worksheet, they will get the 3d plots. Right > > now, a 3d plot is not shown by default on a published worksheet. > > > This could be changed, if someone wrote the necessary code and people viewed > > it as a good thing (to execute javascript in published worksheets when they > > And *java* (in addition to any javascript). > > If you render your 3d plot using tachyon, then that will appear fine > in published worksheets. > which you would do by doing something like P = plot3d(your plot info) P.show(viewer='tachyon') -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Re: plots in 3d are not published?
On Mon, Jan 2, 2012 at 4:27 PM, Jason Grout wrote: > On 1/2/12 3:09 PM, LFS wrote: >> >> Hi - I am a new user of sage, but I very much like the ability to do >> (better than) mathematica quality mathematics and 3d plots legally :) >> However, when I publish my sage worksheet so that I can link to it and >> a non-sage user can view it, the 3d plots are not generated (neither >> plot3d nor implicit_plot3d nor plot_vector_field3d). The 2d plots are >> generated. (See for example: http://sagenb.org/home/pub/3905/ ) >> Is there a reason for this? Thanks. Linda > > > If a user edits the published worksheet, they will get the 3d plots. Right > now, a 3d plot is not shown by default on a published worksheet. > > This could be changed, if someone wrote the necessary code and people viewed > it as a good thing (to execute javascript in published worksheets when they And *java* (in addition to any javascript). If you render your 3d plot using tachyon, then that will appear fine in published worksheets. > were viewed). > > Thanks, > > Jason > > > > > -- > To post to this group, send email to sage-support@googlegroups.com > To unsubscribe from this group, send email to > sage-support+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-support > URL: http://www.sagemath.org -- William Stein Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: plots in 3d are not published?
On 1/2/12 3:09 PM, LFS wrote: Hi - I am a new user of sage, but I very much like the ability to do (better than) mathematica quality mathematics and 3d plots legally :) However, when I publish my sage worksheet so that I can link to it and a non-sage user can view it, the 3d plots are not generated (neither plot3d nor implicit_plot3d nor plot_vector_field3d). The 2d plots are generated. (See for example: http://sagenb.org/home/pub/3905/ ) Is there a reason for this? Thanks. Linda If a user edits the published worksheet, they will get the 3d plots. Right now, a 3d plot is not shown by default on a published worksheet. This could be changed, if someone wrote the necessary code and people viewed it as a good thing (to execute javascript in published worksheets when they were viewed). Thanks, Jason -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org