ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 14 Nov 2018 19:34:52 -0600Plotting > 10k random 3D pointshttp://ask.sagemath.org/question/44286/plotting-10k-random-3d-points/Hi,
First of all, I am new to SAGE, and only started using it today.
I want to plot 100 000 random 3D points in SAGE, and it takes a LOT of time just to plot 10 000 points.
This is the code I have:
def random_point(): return (random(), random(), random())
l = [random_point() for k in [1 .. 10000]]
s = point3d(l, size=5)
show(s, aspect_ratio=1)
I noticed that the last two lines take incredibly long each.
Then, after the `show`, when I try to interact with the graphic, it is blank. I can even show the boundbox and axes, but the plot is nowhere to be seen.
If I change to `[1 .. 100]`, everything works as intended, but this amount of points is not enough.
What should I do to accomplish effectively my goal?
I am using SAGE 8.1, installed on macOS via brew, after running `notebook()` on the command line and using the browser-based notebook.
Thank you!KayvlimWed, 14 Nov 2018 19:34:52 -0600http://ask.sagemath.org/question/44286/How to install cantera on SAGE (OS X)?http://ask.sagemath.org/question/38990/how-to-install-cantera-on-sage-os-x/ Cantera installation use brew for Mac os x, www.cantera.org/docs/sphinx/html/install.html#mac-os-x
installing brew on SAGE:
sage -sh (& ruby brews formula)
does not use SAGE pythons path.
What can I do? Of course I can get out from Jupyter sage kernel and select python kernel, but....
FilipeqgfreireThu, 28 Sep 2017 02:19:41 -0500http://ask.sagemath.org/question/38990/