[sympy] Re: Plotting

2021-11-10 Thread gu...@uwosh.edu
I think that having a way of getting publication quality output would be great. However, I think for what most people do the good interactive graphics of the plotly (2D, mostly, see https://plotly.com/python/) and K3d (3D, see https://github.com/K3D-tools/K3D-jupyter) are better. If enough peop

[sympy] Re: Plotting module

2021-05-03 Thread gu...@uwosh.edu
Davide, Thank you for working on this. I am particularly interested in K3D as I have been using it for data and am very impressed. I will look at this, but not for at least two weeks. We are approaching exams... Jonathan On Monday, May 3, 2021 at 4:18:09 PM UTC-5 sandona...@gmail.com wrote: >

Re: [sympy] Re: Plotting

2021-11-10 Thread Alan Bromborsky
I looked at both packages and what I did not see was the ability to use LaTeX to annotate the figures which to me is a back breaker for report quality graphics. On 11/10/21 7:05 PM, gu...@uwosh.edu wrote: I think that having a way of getting publication quality output would be great. However,

Re: [sympy] Re: Plotting

2021-11-11 Thread gu...@uwosh.edu
Both plotly and k3d support rendered LaTex for labels, text, etc. Some pages with very simple examples for Plotly: https://plotly.com/python/LaTeX/ K3D: https://k3d-jupyter.org/basic_functionality/Text.html Again, I would not argue that these packages easily generate publication quality graphics,

Re: [sympy] Re: Plotting

2021-11-11 Thread Alan Bromborsky
FYI attached is a figure I generated with Asymptote for a Foucault pendulum. On 11/11/21 7:58 AM, gu...@uwosh.edu wrote: Both plotly and k3d support rendered LaTex for labels, text, etc. Some pages with very simple examples for Plotly: https://plotly.com/python/LaTeX/ K3D: https://k3d-jupyter.o

Re: [sympy] Re: Plotting

2021-11-11 Thread Andreas Schuldei
Asymptote is capable of creating high-quality drawings, on par with what you would find in Springer books. I feel it produces superior results. Am Do., 11. Nov. 2021 um 14:02 Uhr schrieb Alan Bromborsky < abrombo...@gmail.com>: > FYI attached is a figure I generated with Asymptote for a Foucault

Re: [sympy] Re: Plotting

2021-11-11 Thread Alan Bromborsky
The wiki page explains what is different about the internal working of Asymptote - https://en.wikipedia.org/wiki/Asymptote_(vector_graphics_language) On 11/11/21 8:11 AM, Andreas Schuldei wrote: Asymptote is capable of creating high-quality drawings, on par with what you would find in Springer

[sympy] Re: Plotting Solids/Areas of Revolutions

2009-08-15 Thread smichr
On Aug 14, 10:42 pm, sunite wrote: > Hi, I was wondering if there was any method to create such a plot. > Replies much appreciated!!! If a wire frame of such things is sufficient, Eck's xModel applet is a simple way to generate a wireframe of a surface and then be able to rotate it, all throug

[sympy] Re: Plotting and automatic multiple colors

2013-09-28 Thread Amit Saha
On Sun, Sep 29, 2013 at 12:14 PM, Amit Saha wrote: > Hi, > > I am trying to find a way to do something which is usually the default > behavior in matplotlib. That is, when I show() multiple plots in a > single figure, they are shown in different colors automatically. For > example: > import m

[sympy] Re: Plotting and automatic multiple colors

2013-10-01 Thread Amit Saha
On Sun, Sep 29, 2013 at 12:14 PM, Amit Saha wrote: > Hi, > > I am trying to find a way to do something which is usually the default > behavior in matplotlib. That is, when I show() multiple plots in a > single figure, they are shown in different colors automatically. For > example: > import m

[sympy] Re: Plotting: how to set line colors

2013-06-17 Thread Ondřej Čertík
On Mon, Jun 17, 2013 at 12:58 PM, Ondřej Čertík wrote: > Hi, > > Here is one of my notebooks (work in progress) for the sympy tutorial: > > http://nbviewer.ipython.org/5799312 > > How can I set line colors in the plot at the prompt [8]? I didn't find > it in the docs: > > http://docs.sympy.org/dev

[sympy] Re: plotting test failure on Sympy master

2015-04-26 Thread j . gonthier01
Sympy version 0.7.6-git, up-to-date with the current master on github. Le dimanche 26 avril 2015 16:42:12 UTC-4, j.gont...@gmail.com a écrit : > > Hi, > > I ran test on the latest sympy fetched from github and the plot_implicit > tests are failing, complaining that "Eq" is not defined. I am using

[sympy] Re: plotting the batman equations, need help

2017-06-24 Thread Jason Moore
I figured out a workaround using carefully crafted Piecewise functions. But I did open this issue: https://github.com/sympy/sympy/issues/12804 because I think it should just work (it mostly does). moorepants.info +01 530-601-9791 On Sat, Jun 24, 2017 at 2:24 PM, Jason Moore wrote: > I've been

Re: [sympy] Re: Plotting: how to set line colors

2013-06-17 Thread Stefan Krastanov
I will write a more complete answer soon, but in the meantime you can check the `examples` folder. In the docs for the plotting module search for "aesthetics". On 17 June 2013 21:00, Ondřej Čertík wrote: > On Mon, Jun 17, 2013 at 12:58 PM, Ondřej Čertík > wrote: >> Hi, >> >> Here is one of my n

Re: [sympy] Re: Plotting: how to set line colors

2013-06-17 Thread Stefan Krastanov
And by the way, as you mentioned, the docs for the plotting module can indeed be better. On 17 June 2013 21:56, Stefan Krastanov wrote: > I answer your question in the attached notebook. But you should really > check the 4 or 5 `example/beginner/plot*` ipython notebooks as they > show much nicer

Re: [sympy] Re: Plotting: how to set line colors

2013-06-17 Thread Ondřej Čertík
Hi Stefan, This is awesome, thanks a lot! I tested your notebook, it works great. As far as the examples/beginner/plot_colors.ipynb goes, I had to add the following two lines into the first cell: from sympy import sin, var, cos, pi, sqrt var("x y") I guess it was assumed it would do this autom

Re: [sympy] Re: Plotting: how to set line colors

2013-06-17 Thread Stefan Krastanov
Indeed, the example notebooks assume that certain setup was performed. I guess it is a leftover from before I learned that it is an ipython antipattern. On 17 June 2013 22:49, Ondřej Čertík wrote: > Hi Stefan, > > This is awesome, thanks a lot! I tested your notebook, it works great. > As far as

Re: [sympy] Re: Plotting: how to set line colors

2013-06-17 Thread Ondřej Čertík
Yeah, just yesterday I realized that it's probably better to launch then notebook just with ipython notebook and then just have a cell that initializes things properly (if needed), so for plotting I use: %pylab inline Ondrej On Mon, Jun 17, 2013 at 3:31 PM, Stefan Krastanov wrote: > Indeed, t

Re: [sympy] Re: Plotting: how to set line colors

2013-06-17 Thread Aaron Meurer
Speaking of antipatterns, don't use var unless it is a completely throwaway interactive session. Also, init_printing() should also do the pylab (it may be broken in 0.7.2 though, so test it). Aaron Meurer On Mon, Jun 17, 2013 at 5:04 PM, Ondřej Čertík wrote: > Yeah, just yesterday I realized th

Re: [sympy] Re: plotting test failure on Sympy master

2015-04-27 Thread Joachim Durchholz
Am 27.04.2015 um 00:09 schrieb j.gonthie...@gmail.com: Sympy version 0.7.6-git, up-to-date with the current master on github. Okay, so we're seeing the same failure as you do. Note to maintainers: To reproduce the error, install matplotlib and run bin/test plot_implicit The plot_implicit ma

Re: [sympy] Re: plotting test failure on Sympy master

2015-04-27 Thread j . gonthier01
@Joachim: Thank you very much for looking into it. I am not using implicit plot, I simply noticed the test failing while developing something else. Thanks again! Le lundi 27 avril 2015 05:18:20 UTC-4, Joachim Durchholz a écrit : > > Am 27.04.2015 um 00:09 schrieb j.gont...@gmail.com : > > Sympy

[sympy] Re: Plotting all the plotable stuff under the sky

2012-04-14 Thread Bharath M R
I think its better to have explicit names like plot_3d, plot_2d instead of having a single plot function. There has been some discussion in the pull request about this. Normally, very few people read through the whole documentation and there is a chance that they will miss some of the features

Re: [sympy] Re: Plotting all the plotable stuff under the sky

2012-04-14 Thread krastanov.ste...@gmail.com
> I think its better to have explicit names like plot_3d, plot_2d instead of > having a > single plot function. I agree. I would like to have explicit plot_blah_blah with explicit arguments (free variables and ranges) and one implicit plot() with all the magic and guessing for the arguments. At th

Re: [sympy] Re: Plotting all the plotable stuff under the sky

2012-04-15 Thread Aaron Meurer
It would probably be cleaner to make plot() call the explicit functions, not the other way around. Aaron Meurer On Sat, Apr 14, 2012 at 11:39 AM, krastanov.ste...@gmail.com wrote: >> I think its better to have explicit names like plot_3d, plot_2d instead of >> having a >> single plot function. >

Re: [sympy] Re: Plotting all the plotable stuff under the sky

2012-04-15 Thread Aaron Meurer
Here's a list of all the kinds of plots Maple can do: http://www.maplesoft.com/support/help/Maple/view.aspx?path=worksheet/reference/PlottingGuide&term=plottingguide. A lot of them are unrelated to SymPy (they just plot data, so you should probably just use matplotlib directly in that case), but t

Re: [sympy] Re: Plotting all the plotable stuff under the sky

2012-04-17 Thread alexandr popov
It's a good idea. But a big number of arguments is confusing a lot. may be instead of a large set of arguments in a function it's better to implement something like a style-class? On Sunday, April 15, 2012 11:22:02 PM UTC+3, Aaron Meurer wrote: > > It would probably be cleaner to make plot() call