Entering edit mode
2.2 years ago
Utkarsha
•
0
Is there any function or way in plotly library in R to stretch out a portion of the X axis in the static graph. Many data points are scattered around a particular interval in the x-axis, so I want to zoom into that particular interval, keeping the other part constant.
Add following details:
You can try plotting in log10 scale.
I have negative numbers in my dataset. Log is not applicable to negative numbers.
It is difficult to second guess your data. Post some data. You can also try either by limiting x scale or coord_cartesian to zoom onto region of interest. If you want to retain all the values, try
pseudo_log_trans
from scales package.