From: Manoj Krishna on 21 Feb 2010 18:23 Hi for my project I need to use an interactive plot to show speeds of 30 vehicles. I got the data with speeds ( 30 x 1 ) matrix Distances at which the speeds were recorded ( 30 x 1 ) matrix I tried using pcolor but I am not successful.. i have used it by using the interactive graph plot in variable editor. Can any one help me how to do this?...I need speeds as diff colors in cells . distances along y axis and x axis should be the number of vehicles uniformly spaced 1 to 30.. Thanks a lot....atleast guide me to correct answer
From: ImageAnalyst on 21 Feb 2010 19:53 I'd just have a 30 by 30 matrix. Like you said: 30 columns- one for each vehicle, and 30 rows - one for each of your distances where the speed was measured. Display this monochrome matrix with imshow, and apply some colormap with the colormap() function. Maximize the plot to the whole screen with this command: set(gcf, 'Position', get(0,'Screensize')); % Maximize figure. I wouldn't worry about trying to customize the variable editor to have different colors in the table cells - just deal with the image you displayed with imshow() instead.
|
Pages: 1 Prev: Chi squared two sample test to measure image correspondence Next: fileList - how to clean up ? |