How to plot a csv table

조회 수: 5 (최근 30일)
wnklrn
wnklrn 2022년 4월 11일
댓글: wnklrn 2022년 4월 11일
Hi,
i´ve got a huge CSV table (1217x1936) which i try to plot in matlab.
The coloums should be my x-axis and the rows be my y-axis.
Im struggling to find the right plot command for my case in matlab.
The figure should look like a picture, where each cell of the csv file is plottet as a "pixel"/dot. The color of the dot should depent on the value of each cell.

채택된 답변

Image Analyst
Image Analyst 2022년 4월 11일
Why not treat it as an image? Let's say you have a matrix (not a table) called data. Then do
imshow(data, [], 'ColorMap', jet(256));
colorbar;
  댓글 수: 1
wnklrn
wnklrn 2022년 4월 11일
Thats exactly what i searched for, thanks!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by