gridlines in 3d ?

72 views
Skip to first unread message

Girard Henri

unread,
Jan 16, 2023, 8:32:56 AM1/16/23
to sage-s...@googlegroups.com

Hi,

I am looking for gridlines in 3d, is it possible with sagemath ?

anyhelp welcome

best

Henri

Rogerio

unread,
Jan 17, 2023, 1:21:08 AM1/17/23
to sage-support
I am not sure if it is exactly what you are looking for, but a few months ago I wrote some lines of code to create a frame with gridlines for 3D plots.

plot_frame3d.png

See the link. The code is also included in the attachment.

Best

Rogerio
background_frame3d.py

Emmanuel Charpentier

unread,
Jan 17, 2023, 4:07:26 AM1/17/23
to sage-support
Le mardi 17 janvier 2023 à 07:21:08 UTC+1, roger...@gmail.com a écrit :
I am not sure if it is exactly what you are looking for, but a few months ago I wrote some lines of code to create a frame with gridlines for 3D plots.

plot_frame3d.png

See the link.

Nice ! Would you consider a ticket adding this to Sage ?

Girard Henri

unread,
Jan 17, 2023, 10:47:45 AM1/17/23
to sage-s...@googlegroups.com

Wonderful !

I didn't know exactly how it could be, but your frame is exactly what I need !

I want to make a graphic of a Airy/fresnel disk,

Thanks you very much,

Best

Henri

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/f6f0a42b-eff0-4a1d-857a-503112e521b5n%40googlegroups.com.

kcrisman

unread,
Jan 17, 2023, 1:52:32 PM1/17/23
to sage-support
Nice ! Would you consider a ticket adding this to Sage ?
 

+1 to that! 

Henri Girard

unread,
Jan 17, 2023, 3:34:24 PM1/17/23
to sage-s...@googlegroups.com

Few graphics I made years ago : Time to get it out of the box !😂

And some one in list help me to create these... Thanks to him 😎


If some one wants the code here :

Enjoy and thank again to those who help me succeding

Henri
Le 17/01/2023 à 19:52, kcrisman a écrit :

Nice ! Would you consider a ticket adding this to Sage ?
 

+1 to that! 
--
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...@googlegroups.com.

Henri Girard

unread,
Jan 17, 2023, 3:41:27 PM1/17/23
to sage-s...@googlegroups.com

By the way I forget to thank :

Releases · sagemath/sage-windows (github.com)    (embray)

which can do it with 9.2 windows versions

And naturally all the sagemath team and people who is developing a wonderfull sage  : La voie sage

(could be a translation of dao de jin) the wellknown antic yin yang path :)

Best


Le 17/01/2023 à 19:52, kcrisman a écrit :

Nice ! Would you consider a ticket adding this to Sage ?
 

+1 to that! 

Henri Girard

unread,
Jan 17, 2023, 3:53:24 PM1/17/23
to sage-s...@googlegroups.com

Last message for today,

There is a simple way to attach an ipynb to run it as an import :

For my example i call f3d.ipynb the structure of the grid. Then I create a new ipynb and I run (i import) the f3d and can use all the fonctions, %run f3d.ipynb in the calc in:


Le 17/01/2023 à 19:52, kcrisman a écrit :

Nice ! Would you consider a ticket adding this to Sage ?
 

+1 to that! 

Eric Gourgoulhon

unread,
Jan 18, 2023, 6:09:07 AM1/18/23
to sage-support
Le mardi 17 janvier 2023 à 19:52:32 UTC+1, kcrisman a écrit :
Nice ! Would you consider a ticket adding this to Sage ?
 

+1 to that! 

+1 too!
Don't hesitate to ask if you need help to open a ticket on  https://trac.sagemath.org/.
Or maybe you want to wait for the migration of SageMath sources to github, which should take place in February.

Eric.

Rogerio

unread,
Jan 18, 2023, 9:41:35 AM1/18/23
to sage-support
Glad to see that it meets the needs of someone else.
There is still a small bug on the labels, I'm gonna try to take care of it in the next week.

Thanks

Rogerio

Henri Girard

unread,
Jan 18, 2023, 10:38:52 AM1/18/23
to sage-s...@googlegroups.com

At the moment I still not have tried labels, I play with it like a kid discovering a  new toys !

Thanks again !

Henri

--
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...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages