Re: [sympy] SymPy 1.5rc1 released

2019-11-29 Thread Lee Smith
Thanks for your prompt reply.  You must spend as much time on the web as I
do ?

Inevitably there will be differences.  Where shouled I report them.

Lee

On Fri, Nov 29, 2019 at 4:38 PM Oscar Benjamin 
wrote:

> Hi Lee,
>
> There is a list of *all* changes in the release notes and a summary of
> backward incompatible changes there as well:
>
> https://github.com/sympy/sympy/wiki/Release-Notes-for-1.5#backwards-compatibility-breaks-and-deprecations
>
> I think it is hard to predict the effect of some of those changes just
> from the description though so I really recommend trying out the new
> version with your code if possible.
>
> Oscar
>
> On Sat, 30 Nov 2019 at 00:21, Lee Smith  wrote:
> >
> > Oscar:  Great Job and Good News.
> >
> > Will there be a site which has a list of deprecated and major changes?
> Kindly provide a link.
> > Happy Holidays to the Sympy Team
> >
> > Terry Lee Deglow-Smith
> >
> > On Fri, Nov 29, 2019 at 1:34 AM Oscar Benjamin <
> oscar.j.benja...@gmail.com> wrote:
> >>
> >> Hi SymPy users and contributors,
> >>
> >> It is my pleasure to announce the *release candidate* of SymPy 1.5.
> This is
> >> is intended for advance testing but if there are no regressions
> >> reported then there will be no changes to this before the 1.5 final
> >> release.
> >>
> >> The final release will be in around a week unless regressions are
> >> reported so please test this now to ensure that any possible
> >> regressions affecting your code or downstream projects are fixed
> >> beforehand.
> >>
> >> I have just made version 1.5rc1 available to install as a pre-release
> >> from PyPI. You can install this with
> >>
> >> $ pip install --pre sympy
> >>
> >> The release notes for SymPy 1.5 can be found here:
> >> https://github.com/sympy/sympy/wiki/Release-Notes-for-1.5
> >>
> >> Note that there are some features that are deprecated and also some
> >> changes that are not backwards compatible. We try to ensure backwards
> >> compatibility and to use a deprecation process wherever possible.
> >> However it is not always possible to avoid potentially breaking
> >> changes.
> >>
> >> Note also that SymPy 1.5 drops support for Python 3.4 and most
> >> importantly will be the last release of SymPy that supports Python
> >> 2.7. This makes it especially important to try and avoid regressions
> >> in this release so I hope that it gets as much pre-release testing as
> >> possible.
> >>
> >> Issues with the release should be reported on Github (make sure to
> >> specify if the issue is a regression since 1.4):
> >> https://github.com/sympy/sympy/issues
> >>
> >> The SHA256 hashes for the release files are:
> >>
> >> abc76c62593c80cafacc9e3cf80e71f9da15b27871cf77a8ed6c18e2e4c017da
> >> sympy-1.5rc1-py2.py3-none-any.whl
> >> a04dda54ad26e406d2e169d29500803556c5d28562d7c47f9d5b31bb9d3a840f
> >> sympy-1.5rc1.tar.gz
> >>
> >> Happy testing,
> >> Oscar
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups "sympy" group.
> >> To unsubscribe from this group and stop receiving emails from it, send
> an email to sympy+unsubscr...@googlegroups.com.
> >> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/CAHVvXxSQHnh0n6xs4hO8s2wXQp6t4f5Bc7ed2y9eNuxbvq9Abw%40mail.gmail.com
> .
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "sympy" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to sympy+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/CAJTRwDqZGn_wRaGmdnpPCXzG_%3DzoNmh1ZdejRjOrHzyh6AwvaA%40mail.gmail.com
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/CAHVvXxSHVuLFuZsz%2BTsphud9AHwkZSn2gNHKBDrr1eYF%2BDnjuQ%40mail.gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAJTRwDo0nncNs-UTBVCEVBLh%2B-TEhL7dLSyTqXBXtrWm5%2Bh8kQ%40mail.gmail.com.


Re: [sympy] Why are some classes not subclass of Basic?

2019-11-29 Thread Lee Smith
Thank you for your note about Matrix and Basic.  These are some of the
lesser known parts of sympy [at least to me].

I am preparing an Intermediate Python course, probably for summer/fall.
You you point me to sites/books which outline/list topics
beyond Matplotlib, Numpy, Pandas and Sympy ?

lee smith

On Fri, Nov 29, 2019 at 1:26 PM Aaron Meurer  wrote:

> MutableMatrix doesn't subclass from Basic because Basic subclasses
> have to be mutable. That's why there is an ImmutableMatrix class,
> which does subclass from Basic. Matrix aliases MutableMatrix for
> backwards compatibility. I'm not sure about Vector but I think it is
> similar.
>
> Aaron Meurer
>
> On Fri, Nov 29, 2019 at 12:23 AM JS S  wrote:
> >
> > I'm just being curious.
> > Some classes in sympy, such as Matrix in matrices package or Vector in
> physics.vector package, are not subclass of Basic.
> > Is this intentional?
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "sympy" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to sympy+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/369cebed-3c6b-4e06-b729-858222baed5d%40googlegroups.com
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2Br14ss9Nm%2Bi6paiFMG9tPpgVVf%2B-TYBMNh07TXNTR_%3Dw%40mail.gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAJTRwDqALspL8Yxgz6qd9B0m-v2byv1d7PZdnauOhVi%3DgxV1Kg%40mail.gmail.com.


Re: [sympy] SymPy 1.5rc1 released

2019-11-29 Thread Lee Smith
Oscar:  Great Job and Good News.

Will there be a site which has a list of deprecated and major changes?
Kindly provide a link.
Happy Holidays to the Sympy Team

Terry Lee Deglow-Smith

On Fri, Nov 29, 2019 at 1:34 AM Oscar Benjamin 
wrote:

> Hi SymPy users and contributors,
>
> It is my pleasure to announce the *release candidate* of SymPy 1.5. This is
> is intended for advance testing but if there are no regressions
> reported then there will be no changes to this before the 1.5 final
> release.
>
> The final release will be in around a week unless regressions are
> reported so please test this now to ensure that any possible
> regressions affecting your code or downstream projects are fixed
> beforehand.
>
> I have just made version 1.5rc1 available to install as a pre-release
> from PyPI. You can install this with
>
> $ pip install --pre sympy
>
> The release notes for SymPy 1.5 can be found here:
> https://github.com/sympy/sympy/wiki/Release-Notes-for-1.5
>
> Note that there are some features that are deprecated and also some
> changes that are not backwards compatible. We try to ensure backwards
> compatibility and to use a deprecation process wherever possible.
> However it is not always possible to avoid potentially breaking
> changes.
>
> Note also that SymPy 1.5 drops support for Python 3.4 and most
> importantly will be the last release of SymPy that supports Python
> 2.7. This makes it especially important to try and avoid regressions
> in this release so I hope that it gets as much pre-release testing as
> possible.
>
> Issues with the release should be reported on Github (make sure to
> specify if the issue is a regression since 1.4):
> https://github.com/sympy/sympy/issues
>
> The SHA256 hashes for the release files are:
>
> abc76c62593c80cafacc9e3cf80e71f9da15b27871cf77a8ed6c18e2e4c017da
> sympy-1.5rc1-py2.py3-none-any.whl
> a04dda54ad26e406d2e169d29500803556c5d28562d7c47f9d5b31bb9d3a840f
> sympy-1.5rc1.tar.gz
>
> Happy testing,
> Oscar
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/CAHVvXxSQHnh0n6xs4hO8s2wXQp6t4f5Bc7ed2y9eNuxbvq9Abw%40mail.gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAJTRwDqZGn_wRaGmdnpPCXzG_%3DzoNmh1ZdejRjOrHzyh6AwvaA%40mail.gmail.com.


Re: [sympy] Newbie

2019-07-14 Thread Lee Smith
Tanvi:  Good Luck

The central idea of these Jupyter Notebooks is that most math problems can
be solved by simply invoking the sympy solve method and displaying the
result with the sympy plot method.  You can easily extend the analysis, but
I prepared a notebook for college algebra, analytic geometry, deriivatives,
single and multiple variable calculus and others !


Virus-free.
www.avg.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Sat, Jul 13, 2019 at 10:07 PM Tanvi Singhal 
wrote:

> Hey Lee I will check it out. Thanks
>
>
> On Sat, 13 Jul 2019 at 15:36, Oscar Benjamin 
> wrote:
>
>> Hi Tanvi,
>>
>> It's great that you want to contribute!
>>
>> Take a look here (I guess you already did):
>> https://github.com/sympy/sympy/wiki/introduction-to-contributing
>>
>> Every part of SymPy can be improved in some way. You mention matrices
>> - there is a lot of work going on for matrices and many issues:
>>
>> https://github.com/sympy/sympy/issues?utf8=%E2%9C%93=is%3Aopen+is%3Aissue+label%3Amatrices
>>
>> https://github.com/sympy/sympy/issues?utf8=%E2%9C%93=is%3Aopen+is%3Aissue+label%3Amatrices.expressions
>>
>> Also for calculus, are you familiar with differential equations? There
>> are lots of issues for those:
>>
>> https://github.com/sympy/sympy/issues?utf8=%E2%9C%93=is%3Aopen+is%3Aissue+label%3Asolvers.dsolve
>>
>> I would suggest to familiarise yourself with the parts of SymPy you
>> might want to work on and then find the easiest possible issue to work
>> on. You can ask on the issue to check if anyone else is working on it
>> and to confirm that it is easy. Some are marked "easy to fix" or "good
>> first issue" but sometimes those labels can be misleading...
>>
>> https://github.com/sympy/sympy/issues?utf8=%E2%9C%93=is%3Aopen+is%3Aissue+label%3A%22Easy+to+Fix%22+
>>
>> https://github.com/sympy/sympy/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22
>>
>> --
>> Oscar
>>
>> On Fri, 12 Jul 2019 at 10:06, Tanvi Singhal 
>> wrote:
>> >
>> > I am Tanvi Singhal, a 4th year undergraduate from IIT Roorkee, India. I
>> am pursuing an Int. Mtech degree in Geology. I know basics of Python and I
>> have read Sympy Tutorial. I am familiar with calculus, trigonometry,
>> Matrices and I want to contribute. I found sympy perfect for Maths lovers.
>> I would be glad if you can guide me on how to proceed.
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups "sympy" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an email to sympy+unsubscr...@googlegroups.com.
>> > To post to this group, send email to sympy@googlegroups.com.
>> > Visit this group at https://groups.google.com/group/sympy.
>> > To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sympy/52b74ef0-3156-4c57-9ac6-fd51f3e85ea1%40googlegroups.com
>> .
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sympy" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to sympy+unsubscr...@googlegroups.com.
>> To post to this group, send email to sympy@googlegroups.com.
>> Visit this group at https://groups.google.com/group/sympy.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sympy/CAHVvXxQ_ojzt5mp1nkmkUnL6W%3DgCJdopWRy2oE_tnyqjg%3DMVcA%40mail.gmail.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/CAOgZ%3DFkupQZWCysyj5xn6%2Bnbu4iqNu975FYrXxnO1Q4-fqgQ_A%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


Virus-free.
www.avg.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at 

Re: [sympy] Newbie

2019-07-12 Thread Lee Smith
Hello Tanvi:

Have a look at  https://github.com/LeeSmithSBCC/Jupyter-Math-For-NerdsThere
is a short Notebook for many undergraduate math classes.  You should
install Anaconda on your computer.  You can see each of my noteooks by
clicking on them in my site, because github will render them in a read ony
mode.  To use them download the folder onto your computer and have fun!

Let me know if you have any questions.

Lee Smith

<http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Fri, Jul 12, 2019 at 2:06 AM Tanvi Singhal 
wrote:

> I am Tanvi Singhal, a 4th year undergraduate from IIT Roorkee, India. I am
> pursuing an Int. Mtech degree in Geology. I know basics of Python and I
> have read Sympy Tutorial. I am familiar with calculus, trigonometry,
> Matrices and I want to contribute. I found sympy perfect for Maths lovers.
> I would be glad if you can guide me on how to proceed.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/52b74ef0-3156-4c57-9ac6-fd51f3e85ea1%40googlegroups.com
> <https://groups.google.com/d/msgid/sympy/52b74ef0-3156-4c57-9ac6-fd51f3e85ea1%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAJTRwDouK1svFbhyxoCcwZR4_LQw6ZrdVpNp6VFzrrHpN%3D%2Bfvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sympy] Grid in sympy plotting

2019-06-27 Thread Lee Smith
Yep.  Well I will continue to look into this.  Of course, if I just did
everything in matplotlib ... no problemo CODE ON !

On Thu, Jun 27, 2019 at 11:59 AM Oscar Benjamin 
wrote:

> I guess it depends what environment you use (I used ipython). Looks like
> you're using Jupyter and I'm not sure how to plotting works there.
>
>
> On Thu, 27 Jun 2019 at 19:24, Lee Smith  wrote:
>
>> Thank you !
>>
>> Actually I tried this and got TWO graphs.  One just the grid then the
>> functions!
>> Suggestions?
>> [image: Sympy_grid.PNG]
>>
>> On Wed, Jun 26, 2019 at 3:26 AM Oscar Benjamin <
>> oscar.j.benja...@gmail.com> wrote:
>>
>>> Hi Lee,
>>>
>>> SymPy's plotting module uses matplotlib so it is reasonable to use the
>>> matplotlib API for adding a grid.
>>>
>>> I just tried this and it works fine:
>>>
>>> In [1]: plot(x**2)
>>> Out[1]: 
>>>
>>> In [2]: from matplotlib.pyplot import grid
>>>
>>> In [3]: grid()
>>>
>>> Oscar
>>>
>>> On Wed, 26 Jun 2019 at 01:59, Lee Smith  wrote:
>>> >
>>> > Greetings:
>>> >
>>> > I want to display a grid in a sympy plot.
>>> >
>>> > The sympy.doc page only discusses mesh grids.
>>> >
>>> > On searching through Google, I found only one result that suggested
>>> using matplotlib.pyplot in addition to the sympy.plot(...) method.
>>> >
>>> > This should be simple and I am surprised that it is not asked more.
>>> >
>>> > Thanks in advance,
>>> > lee
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> Groups "sympy" group.
>>> > To unsubscribe from this group and stop receiving emails from it, send
>>> an email to sympy+unsubscr...@googlegroups.com.
>>> > To post to this group, send email to sympy@googlegroups.com.
>>> > Visit this group at https://groups.google.com/group/sympy.
>>> > To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/sympy/01a492c1-f8df-4810-b413-063f65ce4fa1%40googlegroups.com
>>> .
>>> > For more options, visit https://groups.google.com/d/optout.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "sympy" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to sympy+unsubscr...@googlegroups.com.
>>> To post to this group, send email to sympy@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/sympy.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/sympy/CAHVvXxRSY%3DJ4sLs6wfePiB921ThqpYazi8MWu88mQjMtia7iJQ%40mail.gmail.com
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sympy" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to sympy+unsubscr...@googlegroups.com.
>> To post to this group, send email to sympy@googlegroups.com.
>> Visit this group at https://groups.google.com/group/sympy.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sympy/CAJTRwDpG6dT9ELCWcUaSP6dmTOznaFHKS6LXOmXsZY%2BpM%3D9wNw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/sympy/CAJTRwDpG6dT9ELCWcUaSP6dmTOznaFHKS6LXOmXsZY%2BpM%3D9wNw%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/CAHVvXxQa5nseLq5v04U3Wz06sJnsYa9sNj_8zMPsJznSmB5mYw%40mail.gmail.com
> <https://groups.google.com/d/msgid/sympy/CAHVvXxQa5nseLq5v04U3Wz06sJnsYa9sNj_8zMPsJznSmB5mYw%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAJTRwDpLXZVRjds0Nj0YvSHOAC3kLRpy%3D15PQfowXiOPerc3tw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sympy] Grid in sympy plotting

2019-06-27 Thread Lee Smith
Thank you !

Actually I tried this and got TWO graphs.  One just the grid then the
functions!
Suggestions?
[image: Sympy_grid.PNG]

On Wed, Jun 26, 2019 at 3:26 AM Oscar Benjamin 
wrote:

> Hi Lee,
>
> SymPy's plotting module uses matplotlib so it is reasonable to use the
> matplotlib API for adding a grid.
>
> I just tried this and it works fine:
>
> In [1]: plot(x**2)
> Out[1]: 
>
> In [2]: from matplotlib.pyplot import grid
>
> In [3]: grid()
>
> Oscar
>
> On Wed, 26 Jun 2019 at 01:59, Lee Smith  wrote:
> >
> > Greetings:
> >
> > I want to display a grid in a sympy plot.
> >
> > The sympy.doc page only discusses mesh grids.
> >
> > On searching through Google, I found only one result that suggested
> using matplotlib.pyplot in addition to the sympy.plot(...) method.
> >
> > This should be simple and I am surprised that it is not asked more.
> >
> > Thanks in advance,
> > lee
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "sympy" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to sympy+unsubscr...@googlegroups.com.
> > To post to this group, send email to sympy@googlegroups.com.
> > Visit this group at https://groups.google.com/group/sympy.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/01a492c1-f8df-4810-b413-063f65ce4fa1%40googlegroups.com
> .
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/CAHVvXxRSY%3DJ4sLs6wfePiB921ThqpYazi8MWu88mQjMtia7iJQ%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAJTRwDpG6dT9ELCWcUaSP6dmTOznaFHKS6LXOmXsZY%2BpM%3D9wNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sympy] given a plane equation to extract the coefficients a,b,c,d

2019-06-25 Thread Lee Smith
Thanks for your prompt response.
Really this is a very simple question.  Consider a plain algebra equation
on 'graph paper'.  Sympy.plot(...) allows for a number of key/value pairs
for stuff like xticks, etc.  However, there is no keyword to on a grid for
the resulting plot.

On Tue, Jun 25, 2019 at 5:10 PM Oscar Benjamin 
wrote:

> I'm not sure exactly what you mean. Does this help?
>
> In [1]: a, b, c, d, x, y, z = symbols('a, b, c, d, x, y, z')
>
> In [2]: eq = a*x + b*y+ c*z - d
>
> In [3]: eq
> Out[3]: a⋅x + b⋅y + c⋅z - d
>
> In [4]: eq.coeff(x)
> Out[4]: a
>
> In [5]: eq.coeff(y)
> Out[5]: b
>
> In [6]: eq.coeff(z)
> Out[6]: c
>
> On Tue, 25 Jun 2019 at 18:13, HGO HGO  wrote:
> >
> > hi
> >
> > is it possible given a plane equation to extract the coefficients
> a,b,c,d ?
> >
> > thank you
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "sympy" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to sympy+unsubscr...@googlegroups.com.
> > To post to this group, send email to sympy@googlegroups.com.
> > Visit this group at https://groups.google.com/group/sympy.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/c9d43645-b45e-4690-8997-98f5ea8763a9%40googlegroups.com
> .
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/CAHVvXxQZedJND3fDZw7e%3D2%2BBPiX69PC2Rn5eni-v1%2BbzOCfH3w%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAJTRwDpd9DbnknbSOzEm%2BffPZaukvwbVyPj%3Dw2eHk-0XeC55Ew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[sympy] Grid in sympy plotting

2019-06-25 Thread Lee Smith
Greetings:

I want to display a grid in a sympy plot.

The sympy.doc page only discusses mesh grids.

On searching through Google, I found only one result that suggested using 
matplotlib.pyplot in addition to the sympy.plot(...) method.

This should be simple and I am surprised that it is not asked more.

Thanks in advance,
lee

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/01a492c1-f8df-4810-b413-063f65ce4fa1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.