From: Rajkumar R on 22 Mar 2010 05:44 Hi all, I am using Contourf command to plot 6 different colour zones in my graph. I am not satisfied with any of the colour templates given over there. Is there a possibility to change atleast one colour (which is maximum prevalent in my graph) to white.
From: Husam Aldahiyat on 22 Mar 2010 05:52 "Rajkumar R" <rrk_000(a)yahoo.co.in> wrote in message <ho7e54$ndv$1(a)fred.mathworks.com>... > Hi all, > > I am using Contourf command to plot 6 different colour zones in my graph. I am not satisfied with any of the colour templates given over there. Is there a possibility to change atleast one colour (which is maximum prevalent in my graph) to white. Use colormap(c), where c is an Nx3 matrix, with each row containing the RGB elements for the desired colour of a certain level. For example, since you want white as the maximum, you can use: >> colormap([1,1,1;rand(5,3)])
From: Rajkumar R on 22 Mar 2010 06:18 Thanks Husam...
|
Pages: 1 Prev: adding vectors of different length Next: Tim Davis' Suite Sparse QR in Matlab |