Re: [Matplotlib-users] plotting oriented (two sided) surfaces

2014-04-14 Thread László Oroszlány
actually this makes a lot of sense.. thanks for the pointers.. I shall keep on digging.. laszlo On 14 April 2014 18:36, Benjamin Root wrote: > I think the closest you are going to get is with using the "shade=True" > kwarg in plot_surface(). This is the only way that mplot3d utilizes normal >

[Matplotlib-users] testing issue involving matplotlib

2014-04-14 Thread John Evans
Helllo, I'm seeing a strange issue when running unittests on python3.3 and python3.4 that somehow involves matplotlib. My code has a somewhat complicated setup, but I think I've boiled the issue down to the following reproduction steps import unittest import warnings import matplotlib.pyplot c

Re: [Matplotlib-users] plotting oriented (two sided) surfaces

2014-04-14 Thread Benjamin Root
I think the closest you are going to get is with using the "shade=True" kwarg in plot_surface(). This is the only way that mplot3d utilizes normal vectors, and that really only makes one side look "duller" than the other. Since you mentioned wanting to eventually display self-intersecting surfaces

Re: [Matplotlib-users] plotting oriented (two sided) surfaces

2014-04-14 Thread Shahar Shani Kadmiel
Hi, I am not aware of such an option (AFAIK) but my suggestion would be to make two spheres with very small radii difference, paint the slightly smaller one (inside) blue and the other one red. Just a quick fix for the problem at hand. I'm sure the experts here will have plenty of very in depth

Re: [Matplotlib-users] plotting oriented (two sided) surfaces

2014-04-14 Thread László Oroszlány
well I sort of wanted to avoid doing two spheres.. later on I wanted to do more complicated surfaces.. and it can get a bit messy.. It is not straight forward to generate the two parallel surfaces in general.. to be honest the problematic case would be when i want to display selfintersecting but

[Matplotlib-users] plotting oriented (two sided) surfaces

2014-04-14 Thread László Oroszlány
Dear matplotlib users, I recently started using matplotlib to make a couple of educational presentations. For most of my problems I found the manual and the examples on the web enough, however I ran into a bit of an issue regarding plotting some surfaces. My main problem has to do with plotting or