Setting colorbar limit in siteviewer

3 vues (au cours des 30 derniers jours)
Rahul Gulia
Rahul Gulia le 24 Août 2023
Réponse apportée : Ramtej le 30 Août 2023
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

Réponses (1)

Ramtej
Ramtej le 30 Août 2023
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!

Catégories

En savoir plus sur Propagation and Channel Models dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by