From: Joshua on 13 May 2010 15:50 Hello, I am trying to plot my graphs with a variability backdrop showing the min and max. Everything works perfect except the color selection. I know grey color isnt one of the select few colors to choose from, but is there any letters such as 'g' for green that will make my selected variable grey in color? Thank you, Joshua Rambo
From: Steven Lord on 13 May 2010 15:57 "Joshua " <joshuarambo(a)yahoo.com> wrote in message news:hshl5r$bkd$1(a)fred.mathworks.com... > Hello, > I am trying to plot my graphs with a variability backdrop showing the min > and max. Everything works perfect except the color selection. I know > grey color isnt one of the select few colors to choose from, but is there > any letters such as 'g' for green that will make my selected variable grey > in color? The predefined colors are here: http://www.mathworks.com/access/helpdesk/help/techdoc/ref/colorspec.html However, you can use an RGB triplet to change colors to a color that is not on the list of predefined colors. plot(1:10, 1:10, 'Color', [0.5 0.7 0.2]) This will plot a line and change its Color property to the value [0.5 0.7 0.2] which I would call an olive green. Of course, choosing which color matches the name you have in mind can be tricky; see this page among others: http://blog.xkcd.com/2010/05/03/color-survey-results/ -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
From: Joshua on 13 May 2010 16:13 Thank you. I will play around with the settings and see if I can obtain grey.
|
Pages: 1 Prev: 64 bit Matlab hangs during long computations Next: Data Structures |