The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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: 858
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]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.