How To Create A Persistence Plot
显示 更早的评论
I have quite a large data set that I want to visulaise by overlaying all the traces on one plot, with the traces only using one colour & the opacity/brightness of the resulting trace determined by how many instances of a particular value occur at each point - the only thing I can think to compare it to would be persistence on an old school oscilloscope.
Can someone point me to the correct plot type to achieve this or help me out with some code?
Thanks
5 个评论
dpb
2020-8-9
Just plot with hold on and selected color to put the points on the screen -- histcounts() will let you bin the observatons by whatever resolution you have to sufficiently have multiple counts; you can set a colormap based on those counts by bin location...
Without trying to make up data...
Adam Danz
2020-8-10
An example image would help.
It sounds like you have you have to compute the outter boundaries of the data and then use patch or fill to plot the shape of the data.
DrEamonn
2020-8-10
As far as I know you cannot vary the transparency within a patch. However, you can adjust the color (ie, shades of blue) and then set a constant transparency value.
Here's some background info on controlling the color transitions of a patch by setting the CData property of a patch object. You can set a colormap from light blue to dark blue.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




