필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

issue with plotting data

조회 수: 1 (최근 30일)
Arun Badigannavar
Arun Badigannavar 2013년 3월 26일
마감: MATLAB Answer Bot 2021년 8월 20일
I have graph plotting 4 variables value every update,,,up to i=10 only variables will be plotted and after some time third and fourth vqariables vlaue is plotted on plot,,,for plotting third and forth variable i will make third and fourth variable zero,,,,so problem is wen i plot first and second variables,,,third and fourth variable is also plotted on zero point,,,so how to make third and fourth point visible,,wen those get values?
  댓글 수: 2
Azzi Abdelmalek
Azzi Abdelmalek 2013년 3월 26일
Arun, to clarify what you want, post your code, and explain when you want to plot third, fourth,...,tenth.
Arun Badigannavar
Arun Badigannavar 2013년 3월 26일
x=1:10;
y=1:10;
f1=figure(1);
plot(x,y,'g*')
z=21:30;
plot(x,z,'r*')
This plot replaces (x,y),,,i want keep first plot and again plot(x,z),,

답변 (1개)

Suleyman Deveci
Suleyman Deveci 2013년 3월 26일
use "hold on" between two plots

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by