|
|
How to remove plot based on markers
I have a plot on which I have some data plotted with different markers. How do I delete the data from the plot based on markers?
a = 1:10;
b = sin(a);
c = cos(a);
hold on;
plot(a,b, '+', 'markersize',6);
plot(a,c, 'v', 'markersize',8);
Now I want to remove all the data plotted with marker 'v' on the plot, how to I do it?
Thanks a lot!
|
|
0
|
|
|
|
Reply
|
Yuping
|
3/18/2010 4:44:04 PM |
|
Yuping Liang wrote:
> I have a plot on which I have some data plotted with different markers.
> How do I delete the data from the plot based on markers?
>
> a = 1:10;
> b = sin(a);
> c = cos(a);
> hold on;
> plot(a,b, '+', 'markersize',6);
> plot(a,c, 'v', 'markersize',8);
>
> Now I want to remove all the data plotted with marker 'v' on the plot,
> how to I do it?
delete(findobj(gca,'Type','line','Marker','v'));
|
|
0
|
|
|
|
Reply
|
Walter
|
3/18/2010 4:52:01 PM
|
|
|
1 Replies
229 Views
(page loaded in 0.076 seconds)
Similiar Articles: one line plot with different colors - comp.soft-sys.matlab ...Hi all, how can I plot one single line plot with different colors in the same line? ... Assign color in plot based on value - comp.soft-sys.matlab ... one line plot with ... change midpoint style on error bar - comp.graphics.apps.gnuplot ...> I had to plot errorbars twice for the same plot command ... For the second set of error > bars, the midpoint marker ... Add, change, or remove error bars in a chart - Excel ... comp.soft-sys.matlab - page 236Automatic plot with ODE solvers 1 3 (12/12/2003 7:03:11 PM) Is there any way to remove the line markers in the plot produced by the ODE solvers when called without output ... Placing markers on a map - comp.lang.clipper.visual-objects ...... Bing maps (or any other) should appear and some markers ... Nick On 17 Apr, 14:18, "Jack Konings" <Gordon_remove ... comp.unix.programmer... file-backed, mmap()-based ... removing NaN values from a matrix - comp.soft-sys.matlab ...... of these zeros to NaN values so they would not show up when I plot ... Row ... remove multiple rows of matrix based the value and index of ... Removing NaN ... How to save files into a specific folder - comp.soft-sys.matlab ...Note how I create a new subfolder based on the name of the input movie file. ... frame) = im2frame(thisFrame); end % Get rid of old image and plot. delete ... Figure initial position - comp.soft-sys.matlabThe other j values only plot the corresponding initial ... But I couldn't figure out how to remove them. I tried ... You could optimize that with an initial guess based on ... Hide Z axis in mesh plot - comp.soft-sys.matlabIs there a way, just for looks, to remove the XZ and YZ axes/faces in a mesh plot? ... hi, I would like that in a pcolor plot I have performed, the axis (line and axis markers ... Properly Flagging items based on multiple conditions - comp.soft ...I have this dataset and I am looking to flag items for the same store with the same R-number but that went from =>90 to <90 on days Have: STORE ... how to choose random rows from a matrix - comp.soft-sys.matlab ...X(index,:) = []; % Delete selected row. m = m-1 ... selecting specific rows of a data file for a 2D plot ... remove multiple rows of matrix based the value and index ... How to Plot With Different Marker ( ‘x’ and ‘o’) Based on ...How to Plot With Different Marker ( ‘x’ and ‘o’) Based on Condition in R. ... Remove Ads linux - How to Plot With Different Marker ( 'x' and 'o') Based on ...How to Plot With Different Marker ( 'x' and 'o') Based on Condition in R ... What I want to do is to plot the graph using for ... How to delete a row from a data.frame without ... 7/18/2012 5:12:37 AM
|
|
|
|
|
|
|
|
|