vector of X values contains duplicate values
32 次查看(过去 30 天)
显示 更早的评论
I would like to plot an heatmap (with polar coordinate rho/theta) but when I plot the heatmap i've got this error message: "vector of x values contains duplicate values"
heatmap (rho, theta, Latency)
0 个评论
回答(1 个)
Benjamin Großmann
2018-4-23
The heatmap functions first two arguments are in this context the labels for the x-axis and y-axis. These have to be unique and can also be of char type. I.e.
heatmap({'A','B','C'},[5 6 7],rand(3))
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!