フィルターのクリア

How to make a scatter plot that with marker size defined by Z variable

8 ビュー (過去 30 日間)
Ramiro Rea
Ramiro Rea 2017 年 12 月 9 日
回答済み: Image Analyst 2017 年 12 月 9 日
Hi everyone,
I have data in the attached matrix. I would like to plot in the X axis the WASI column, in the Y the six values of the headers SoE (0.3, 0.6, 0.9, 1.2, 1.5, 1.8). This will leave 6 data points for every WASI value. Then, I would like each of the data points to have a marker size corresponding to the values in their corresponding cells WASI, SoE. Does anyone have an idea on how I can achieve this?
Many thanks, Ramiro

回答 (1 件)

Image Analyst
Image Analyst 2017 年 12 月 9 日
Notice that scatter() take an input variable that is a list of marker sizes. Use it. Pass in Z for the marker sizes input.

カテゴリ

Help Center および File ExchangeScatter Plots についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by