Borrar filtros
Borrar filtros

Setting colorbar limit in siteviewer

6 visualizaciones (últimos 30 días)
Rahul Gulia
Rahul Gulia el 24 de Ag. de 2023
Respondida: Ramtej el 30 de Ag. de 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

Respuestas (1)

Ramtej
Ramtej el 30 de Ag. de 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!

Categorías

Más información sobre Propagation and Channel Models en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by