フィルターのクリア

Multiple of dataTipTextRow on plot

6 ビュー (過去 30 日間)
Dharmesh Joshi
Dharmesh Joshi 2022 年 10 月 31 日
回答済み: RAGHUNATHRAJU DASHARATHA 2022 年 10 月 31 日
Hi
I have manged to create a plot with single dataTipTextRow, such as temperture using the following code:
row=dataTipTextRow("Temperture",sensor_table_data(current_device_selected).Rawdata.iot_temperature);
c(1).DataTipTemplate.DataTipRows(end+1) = row;
But I would also like to add Humidity data to dataTipTextRow as well. How would i add two sets of data to the same dataTipTextRow?
Thanks

回答 (1 件)

RAGHUNATHRAJU DASHARATHA
RAGHUNATHRAJU DASHARATHA 2022 年 10 月 31 日
A per my understanding you want to add two sets of data to same dataTipTextRow.
It is not possible to add another set of data as the syntax of dataTipTextRow doesn't support that, instead you can add another dataTipTextRow .You can refer to this link for CustomDatatips.
You can also use datacursormode to print two sets of data in datatip.

カテゴリ

Help Center および File ExchangeVector Fields についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by