[Matplotlib-users] stem plot

Bachir Bachir bachir_bac at yahoo.com
Fri Feb 12 16:57:46 EST 2016


 I want to display all the values above the tolerance using red color for example and the all the values bellow the tolerance using green color, what Paul discribed the colors are side by side an the bar have the same color exactly i want to display from the tolerance to maximum value using red and from the tolerance to zero using green i hope this time i am clear 
 

    On Friday, February 12, 2016 10:04 PM, Benjamin Root <ben.v.root at gmail.com> wrote:
 

 Perhaps it is the cold weather that is messing up my reading comprehension, but I don't see how your case is different from what Paul described.

Ben Root

On Fri, Feb 12, 2016 at 3:37 PM, Bachir Bachir via Matplotlib-users <matplotlib-users at python.org> wrote:

 I think only one call is enough, if you change the color ( green or red) depending on the tolerance value. My case is little different , I want display all the values above the tolerance using red color and the all the rest using green.

 

    On Friday, February 12, 2016 9:09 PM, Paul Hobson <pmhobson at gmail.com> wrote:
 

 Call to stem plot twice: once with your dataset that is above the threshold, and then again with the lower values. Similar to this:http://stackoverflow.com/questions/19917587/matplotlib-advanced-bar-plot/19919397#19919397

On Fri, Feb 12, 2016 at 11:54 AM, Bachir Bachir via Matplotlib-users <matplotlib-users at python.org> wrote:

Dear all,Using stem plot how i can display a serie of values (x,y) but when the y value is less than a specific toterance the display color is green otherwise the color is redthanks much for the helpBachir

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org
https://mail.python.org/mailman/listinfo/matplotlib-users





   
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org
https://mail.python.org/mailman/listinfo/matplotlib-users





  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20160212/07324ec8/attachment.html>


More information about the Matplotlib-users mailing list