I’m running matplotlib 1.1.0 and would
like to plot pairs of values,
e.g.
[[0.27,0.43],[0.17,0.35]]
When using boxplot, the values of the
pairs correspond to the “outer whiskers”, but I would like that
the interquartile ranges correspond to the value pairs. The whiskers shall
NOT be shown.
The rationale behind the value pairs:
these pairs correspond to confidence intervals, and I would like to compare
confidence intervals from different measurements and thought that matplotlib
could help me.
Cheers & Thanks,
Paul
This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person. If you have received this transmission in error, please notify the sender immediately and delete the message and any attachment from your system. Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not accept liability for any omissions or errors in this message which may arise as a result of E-Mail-transmission or for damages resulting from any unauthorized changes of the content of this message and any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not guarantee that this message is free of viruses and does not accept liability for any damages caused by any virus transmitted therewith.
You lost me. Are you trying to create box and whisker plots or do you just
want rectangles? N = 2 is awfully small dataset for box/whisker plots. If
all you want are the rectangles -- use those directly:
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.patches import Rectangle
On Thu, Mar 14, 2013 at 12:40 AM, <Paul.Czodrowski@...4310...> wrote:
Dear Matplotlibbers,
I'm running matplotlib 1.1.0 and would like to plot pairs of values,
e.g.
[[0.27,0.43],[0.17,0.35]]
When using boxplot, the values of the pairs correspond to the "outer
whiskers", but I would like that the interquartile ranges correspond to the
value pairs. The whiskers shall NOT be shown.
The rationale behind the value pairs: these pairs correspond to confidence
intervals, and I would like to compare confidence intervals from different
measurements and thought that matplotlib could help me.
You lost me. Are you trying to create box and whisker plots or do
you just want rectangles? N = 2 is awfully small dataset for box/
whisker plots. If all you want are the rectangles -- use those directly:
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.patches import Rectangle
Indeed, I'm more interested in a rectangle, exactly as you showed it!
Your code and quick response is highly appreciated!
Cheers,
Paul
This message and any attachment are confidential and may be privileged or
otherwise protected from disclosure. If you are not the intended recipient,
you must not copy this message or attachment or disclose the contents to
any other person. If you have received this transmission in error, please
notify the sender immediately and delete the message and any attachment
from your system. Merck KGaA, Darmstadt, Germany and any of its
subsidiaries do not accept liability for any omissions or errors in this
message which may arise as a result of E-Mail-transmission or for damages
resulting from any unauthorized changes of the content of this message and
any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its
subsidiaries do not guarantee that this message is free of viruses and does
not accept liability for any damages caused by any virus transmitted
therewith.