Prev: Data Acquisition
Next: Remove email from posts
From: Avengeline on 31 Jan 2010 07:42 I plot a row of image containing its pixel values... for example row = 110.... http://farm3.static.flickr.com/2763/4318073947_3de891d114_o.jpg the code is.. plot(I7(110,1:640), 'DisplayName', 'I7(110,1:640)', 'YDataSource', 'I7(110,1:640)'); figure(gcf) but i want to add a marker on the graph on certain x-axis values.. (like..24...30...50..) any marker will do.. 'o', '*', or 'x'... so that the graph looks like this... http://farm5.static.flickr.com/4023/4318802130_980201faa1_b.jpg A, B, C, D, E, F refers to the position of the marker i want them to be... how can i do this? thanks...
From: ImageAnalyst on 31 Jan 2010 09:22 This is how I'd try it: Plot the full curve get a smaller vector with only the coordinates of the markers that you want to display put "hold on" so you don't destroy the curve. plot the markers, like plot(x_markers, y_markers, 's') with a for loop, use the text() command to place a label next to each marker.
|
Pages: 1 Prev: Data Acquisition Next: Remove email from posts |