Hi, can anyone tell me how to add a legend to a plot where the legend refers to the markers rather than to the linestyle? I have a plot with 5 curves and 5 sets of distinct style markers made with a nested FOR loop (with the method shown in video). I would like the legend to denote the plots by the marker styles rather than by the curve line styles. However, I'm not aware of any way to do so.
Can anyone help me to find out how i can give distinct line styles and colours to each plot that is drawn in the for loop in the first plot drawn in this video..? Thank you.
Thank you so much for this video ..it solved my problem :) but i have one doubt..i plotted a fourth degree polynomial. I attempted to curve fit a 4th degree curve through my data points using 'basic fitting' option ..but i am getting an error message : 'Polynomial is not unique; degree>=number of data points' please help me out :(
I still have some problems. I have a normal plot in 2D which works if i cut the for loop away, the for loop comes after it. If I then paste the for loop back it only shows the figure inside the for loop and not anymore the plot before the for loop, only the figure inside the loop. Does anyone know how to solve this?
This was extremely helpful. Thanks for the upload.
Had the problem with only the last plot() of the loop being done. Your video helped me, thanks!
Thank you so much, this was exactly what I was looking for!
Very nice and detailed tutorial, thank you!
Excellent work, sir. Thank You.
oh man, you saved my time. Thanks a lot.
Thanks! Very good tutorial!
informative vedio. Thank You. Could you please explain how to give the legends when we plot graphs using for loop
thank you very much! I have to turn in my homework today.
Thank you - *exactly* what I was looking for!
You sound like Patrick Bateman from American Psycho. Helpful tutorial too
Very useful thank you.
Hi, can anyone tell me how to add a legend to a plot where the legend refers to the markers rather than to the linestyle?
I have a plot with 5 curves and 5 sets of distinct style markers made with a nested FOR loop (with the method shown in video).
I would like the legend to denote the plots by the marker styles rather than by the curve line styles. However, I'm not aware of any way to do so.
How do you add a legend inside a FOR LOOP? For example, in the plots,you created in the first two examples.
Thanks
thanks dor your vedio,may i know how to add legend to each line after 3 loops ?
Can anyone help me to find out how i can give distinct line styles and colours to each plot that is drawn in the for loop in the first plot drawn in this video..? Thank you.
Excellent, i did not complete the video, however, I solve my problem.
Thanks
adding titles to that plots will give good impression, can u do that?
Thank you!!
Thank you so much for this video ..it solved my problem :)
but i have one doubt..i plotted a fourth degree polynomial. I attempted to curve fit a 4th degree curve through my data points using 'basic fitting' option ..but i am getting an error message :
'Polynomial is not unique; degree>=number of data points'
please help me out :(
I want to drw each lines repeated in plot with diff colors and markers , also the legends. Help me.
very helpful
thanks a lot...
Genius
Sir, Please plot plank radiation law
I still have some problems. I have a normal plot in 2D which works if i cut the for loop away, the for loop comes after it. If I then paste the for loop back it only shows the figure inside the for loop and not anymore the plot before the for loop, only the figure inside the loop. Does anyone know how to solve this?
for i=1:length(B)
plot(B{i}(:,2),B{i}(:,1), 'y' ,'linewidth',1.45);
Please explain this in image processing for brain detection
Is this Seth Rogen speaking?
wut
Mac looks gross
Very good and helpful. Thank you!