Plotting two categorical variables against a continuous variable, map continuous variable to colorbar or marker size
8 次查看(过去 30 天)
显示 更早的评论
Hello,
I would like to construct a plot that has a categorical variable on the y-axis (protein names) and another categorical variable on the x-axis (treatment conditions), and numerical data (expression values) scaled to a colorbar or marker size. How might I go about doing this?
Thanks!
3 个评论
Adam Danz
2019-11-15
编辑:Adam Danz
2019-11-15
Nice work!
If you want to represent magnitude by marker size, here are some functions to look into that allow you to change the marker size of each point.
gscatter(x,y,g,clr,sym,siz) for grouped data
回答(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!
