ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 01 Nov 2019 09:00:21 +0100How to obtain high quality plots in the Jupyter notebook?https://ask.sagemath.org/question/48580/how-to-obtain-high-quality-plots-in-the-jupyter-notebook/ When plotting figures in the Jupyter notebook, the result is always a grained and low resolution image. With Python's `matplotlib`, this issue can be mitigated using the following command:
%config InlineBackend.figure_format = 'svg'
which makes `matplotlib.pylplot.plot` produce very high resolution figures in the notebook.
Is there a way to obtain the same result with SageMath's `plot` command?TofiFri, 01 Nov 2019 09:00:21 +0100https://ask.sagemath.org/question/48580/resolution stuck system polynomials order twohttps://ask.sagemath.org/question/44663/resolution-stuck-system-polynomials-order-two/I have three variables (ISP, ch, $n_C$). I have two equations. My aim is to solve a system of two equations to compute the values of ISP and ch according to $n_C$.
My two equations are polynomials of order two. I put the equations in a framabin :
https://framabin.org/p/?2ea1412d13d7f562#vh/+dEhivcOqEQAl3RerwPLb4XPAYRB4ehQ+eAL65MM=
I tried the solvers of sage and simpy but it does not work. I tried to use Groebner basis but I failed.borostackThu, 13 Dec 2018 21:47:04 +0100https://ask.sagemath.org/question/44663/Implicit Plot 3D - ThreeJShttps://ask.sagemath.org/question/41517/implicit-plot-3d-threejs/ I'm trying to plot several algebraic surfaces, most of which have singularities and other especial properties. Using `implicit_plot3d` and `viewer='threejs'` works fine for instance
var('x,y,z')
p=x^3+y^3+z^3+1-0.25*(x+y+z+1)^3
r=5
color='aquamarine'
s = implicit_plot3d(p==0, (x,-r,r), (y,-r,r), (z,-r,r), plot_points=50, region=lambda x,y,z: x**2+y**2+z**2<=r*r, color=color)
s.show(frame=False, viewer='threejs')
But when increasing `plot_points=100`, SageCell does note return any output ([demo](https://sagecell.sagemath.org/?z=eJw9jrEOwiAURfcm_Qc2aMGmtXExvtXPsEFFxdCCj6rA14saHe7JGe5wHhIZDSKKRKuycBB2PY95Ka9btM1yVbPAI0-8q3Z9WSCsyuJgjUWg8naXo0Q9KVoWngDRozP6oOfBGTv3R-YAWkFYEAsUWGWLf0s_e18HZ_U0e-jafEd11nYCI8f9UZJP2pqEul7y-EbK2ADWKMg348Pc7ht_sU92Qjkq2ErjlSAPrZ4ql84XVOrqafUCywVItg==&lang=sage)) (in a Sage Notebook, everything works fantastic). I guess the query may be too hard for SageCell...
Is there a way to optimize the code / query for SageCell to plot algebraic surfaces with acceptable quality?jepstraTue, 13 Mar 2018 11:11:37 +0100https://ask.sagemath.org/question/41517/performing a higher resolution FFThttps://ask.sagemath.org/question/26215/performing-a-higher-resolution-fft/How do I interpolate (up-sample) a discrete function so that I can perform a more refined FFT spectral analysis on it?
(Note: By default, NumPy's FFT command produces a list of the same dimension as the input list.)
thanksGeremiaTue, 17 Mar 2015 07:13:22 +0100https://ask.sagemath.org/question/26215/high resolution image - matplotlibhttps://ask.sagemath.org/question/10334/high-resolution-image-matplotlib/Hi experts!
How can i generate matplotlib graphs in custom resolution (for example: 1020p)?
waiting for your answers.
Thanks a lot!mresimulatorTue, 09 Jul 2013 12:08:23 +0200https://ask.sagemath.org/question/10334/