Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: boxplots in different colors
Replies: 1   Last Post: Jan 24, 2013 11:30 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Tom Lane

Posts: 854
Registered: 12/7/04
Re: boxplots in different colors
Posted: Jan 24, 2013 11:30 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

> Could you help me to plot a subplot with group colors?
> Colors need to be provided in a below manner;
> colors = {[200 255 80] [100 255 50] [255 255 0] [70 170 250] [200 255
> 80]};
>
> Note: I have tried above, but could not able success.


That's because colors need to be between 0 and 1. Divide all of these
numbers by 255, and make sure to provide a triplet for each group.

-- Tom




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.