Setting colorbar limit in siteviewer

2 ビュー (過去 30 日間)
Rahul Gulia
Rahul Gulia 2023 年 8 月 24 日
回答済み: Ramtej 2023 年 8 月 30 日
I explored other Matlab answers too. But could not find anything related to this topic.
I would like to know if I can set the colorbar limits in the Siteviewer.
Here is a reference code of how I am generating it.
test_op_RADP_c3 = readtable("Sim19_train2000_test10000_cell3_az0.csv");
test_op_RADP_c3.cell_id = cell2mat(test_op_RADP_c3.cell_id);
lon_test_RADP_c3 = table2array(test_op_RADP_c3(:,3));
lat_test_RADP_c3 = table2array(test_op_RADP_c3(:,4));
rx_pow_test_RADP_c3 = table2array(test_op_RADP_c3(:,2));
lon = lon_test_RADP_c3;
lat = lat_test_RADP_c3;
tbl_cell_1 = table(lat, lon, rx_pow_test_RADP_c3);
pd_cell_1 = propagationData(tbl_cell_1);
plot(pd_cell_1, "Colormap",jet)
colorbar
clim([-34 41])
I would really appreciate any kind of help or suggestion.
Thank You

回答 (1 件)

Ramtej
Ramtej 2023 年 8 月 30 日
Hi Rahul,
I understand that you are trying to set colorbar limit in “siteviewer”. I assume you should have an error when you try to assign a colorbar to a “siteviewer” object handle. This is because “siteviewer” does not have a well-defined axis to plot along when the colorbar is used and this is why it is not supported.
Hope this helps!

カテゴリ

Help Center および File ExchangePropagation and Channel Models についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by