How to plot a csv table
5 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
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;
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File 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!