How to plot line graph?

조회 수: 3 (최근 30일)
Pooja Kumari
Pooja Kumari 2018년 4월 24일
댓글: Pooja Kumari 2018년 4월 24일
In the thermal analysis of a video, I have divided video into the number of multiple frames. and got the temperature value associated with each pixel of the collected frames. The data is of 1*380*10 single type (where first two are the pixels co-ordinates and 10 is the number of frames). I want to plot temperature v/s pixel. Please guide how to do. Thanks in advance :)
  댓글 수: 4
Ameer Hamza
Ameer Hamza 2018년 4월 24일
What are dimensions of your image frame? If each frame is 1*380, then it will just be a straight line. What do you mean by plotting temperature vs pixels? Do what want to 2D plot or a color map.
Pooja Kumari
Pooja Kumari 2018년 4월 24일
ya each frame is 1*380, and there are 10 frames. Each pixel in the frame has temperature value associated with it.so wanted to plot a line graph of these temperature values v/s pixel.

댓글을 달려면 로그인하십시오.

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2018년 4월 24일
편집: KALYAN ACHARJYA 2018년 4월 24일
% Repeat for all pixels
% i for rows coordinate, j column coordinate and t tempature at that location
{
plot3(i,j,t);
hold on;
}
hold off;
  댓글 수: 1
Pooja Kumari
Pooja Kumari 2018년 4월 24일
thanks for the reply :)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by