define dynamic width for rx_plot