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!
