MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > Problem with plot 

Greetings, 
"Sanaa" wrote in message <jl7huo$593$1@newscl01ah.mathworks.com>... 
Thanks a lot for your reply. I modified my file to be like this 
I just want to know why do I get so many colors and lines in my plot?!!! 
"Sanaa" wrote in message <jl7l2p$f6r$1@newscl01ah.mathworks.com>... 
Dear sir, you are completely right. I should check every single step in my code. I deleted unnecessary lines(as you advised) out of my code. Now I am having this code: 
No tags are associated with this thread.
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.