Setting colorbar limit in siteviewer

2 次查看(过去 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 CenterFile Exchange 中查找有关 Propagation and Channel Models 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by