Ask Your Question

publish a page

asked 2021-10-15 12:05:34 +0100

ErWinz gravatar image

hi i have a page with ten 3d plots that i can show to my students with a videoprojector i was wondering wether it could be technically possible to publish this page on internet, so that they could manipulate my graphs directly at home or on their smartphones thanks for your answers Vinz

edit retag flag offensive close merge delete

4 Answers

Sort by » oldest newest most voted

answered 2021-10-15 16:25:48 +0100

cav_rt gravatar image

Another possibility, if you just need to show the graphics, is to save as html and host it. Like here

It is also possible to embed in a moodle course page or another html page.

edit flag offensive delete link more


Very nice example!

eric_g gravatar imageeric_g ( 2021-10-15 16:43:38 +0100 )edit

Thank you!

cav_rt gravatar imagecav_rt ( 2021-10-15 16:59:59 +0100 )edit

Nice ! Could you please provide the sage code that lead to that 3d animation ?

tmonteil gravatar imagetmonteil ( 2021-10-15 20:20:20 +0100 )edit

The link seems broken :(

tmonteil gravatar imagetmonteil ( 2021-10-16 12:04:06 +0100 )edit

Sorry, here is the new link.

cav_rt gravatar imagecav_rt ( 2021-10-16 16:58:12 +0100 )edit

answered 2021-10-16 11:19:07 +0100

ErWinz gravatar image

updated 2021-10-20 13:27:37 +0100

hi and thanks.

i have published my notebook on my own website and it's perfect

thanks a lot



first point : curiously, this page works fine without nbviewer wheras if i enter it into nbviewer itdoesn't work

second point : the html file is very heavy (11Mo…) and very very long to charge on a smartphone (but fine on a computer)

edit flag offensive delete link more


Regarding the html file being heavy, you can improve it by fixing the plot_points of each surface. The second surface of your new link, for example, has 1.3MB. If you use the argument plot_points=[15,15,15] it downs to 186KB.

cav_rt gravatar imagecav_rt ( 2021-10-20 18:37:11 +0100 )edit

answered 2021-10-15 13:56:12 +0100

eric_g gravatar image

updated 2021-10-15 13:57:54 +0100

Just to add to @tolga 's answer: allows students to manipulate the 3D plots with the mouse; see e.g. this example. They can even use all the buttons controlling animated 3D plots (cf. the last cell of the above example). However, they cannot change the content of the input cells.

To allow students to modify the input cells and run the notebook on a remote free server, a standard solution is to use Binder, by clicking on the "Execute on Binder" button in the top menu of the nbviewer page. Unfortunately, this is currently broken for Sage, cf. this discussion.

edit flag offensive delete link more

answered 2021-10-15 12:38:30 +0100

tolga gravatar image

Please see to share your Jupyter notebooks. However, as far as I am concerned, your students cannot manipulate your inputs in nbviewer, they can just see them. Cocalc may have such an option (never tried).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2021-10-15 12:05:34 +0100

Seen: 332 times

Last updated: Oct 20 '21