5G NR rem-example.cc query - Generating colorbar for the SNR heatmaps

118 views
Skip to first unread message

Rahul Singh Gulia

unread,
Aug 25, 2022, 2:39:02 PM8/25/22
to 5G-LENA-users
Hi All,

I am investigating an indoor scenario at the 60 GHz frequency band with the 5G LENA module. 

I am modifying the rem-example.cc according to my investigation scenario and gathering the rem map. I would like to know if I can attach a color bar to the generated SINR, SNR, and IPSD heatmaps as shown in some of the 5G LENA documentation available online.

I have also attached a sample of my SNR heatmap below for reference.

Thank You,
Rahul Singh Gulia


nr-rem--snr.png

Biljana B.

unread,
Sep 5, 2022, 1:44:33 PM9/5/22
to 5G-LENA-users
Did you solve this, if yes could you share your solution with others? I thought that this bar is generated by default. Maybe is some different in gnuplot versions?

Rahul Singh Gulia

unread,
Sep 6, 2022, 8:09:41 AM9/6/22
to 5G-LENA-users
No, I was not able to solve this issue. I am still looking into it. 

Rahul Singh Gulia

unread,
Sep 6, 2022, 8:10:04 AM9/6/22
to 5G-LENA-users
Hoping to get any suggestions from here too. 

Roland Martinson

unread,
Mar 13, 2023, 7:30:21 AM3/13/23
to 5G-LENA-users
I am not understanding your question but if you want to have coordinates showing on your maps, perhaps you need to change your font. The default one us Helvetica but you can change it (in the "new-nr-rem-plot.gnuplot") to a font you have (e.g. Sans) using a sed command in your terminal. 

Mohammed Tarek

unread,
Mar 13, 2023, 9:39:17 AM3/13/23
to Roland Martinson, 5G-LENA-users
Thanks,I need to help me to show the architecture 5G (gnode and core )by using NS3 (NetAnim) can you send me video to show me.

‫أُرسلت من الـ iPhone‬

‫في ١٣‏/٠٣‏/٢٠٢٣ الساعة ١:٣٠ م، كتب/كتبت ‏Roland Martinson ‏<ron9...@gmail.com>:‬

I am not understanding your question but if you want to have coordinates showing on your maps, perhaps you need to change your font. The default one us Helvetica but you can change it (in the "new-nr-rem-plot.gnuplot") to a font you have (e.g. Sans) using a sed command in your terminal. 
--
You received this message because you are subscribed to the Google Groups "5G-LENA-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 5g-lena-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/5g-lena-users/bf792da5-cf00-402d-85d9-64bc1acbfa37n%40googlegroups.com.

Katerina Koutlia

unread,
Mar 14, 2023, 5:04:39 AM3/14/23
to Mohammed Tarek, Rahul Singh Gulia, Roland Martinson, 5G-LENA-users
Hi Rahul,

The color bar is generated by the script in the nr-radio-environment-map.cc. 
Have a look at it, whatever refers to as colorbar or cb, has to do with the colorbar. 
This colorbar is generated with all the heat maps generated with nr-radio-environment-map.cc.
Try to see if you have removed any of these lines, or changed the offset or the coordinates where the bar appears. 

Mohammed, please if you have an issue, DON'T post in threads that are irrelevant. 
Post ALWAYS in a new thread.

BR,
Kat

Rahul Singh Gulia

unread,
Mar 14, 2023, 6:15:17 AM3/14/23
to 5G-LENA-users
Thank you Kat, I will look into that piece of code.

Best,
Rahul

Reply all
Reply to author
Forward
0 new messages