Hello all,

I want to plot Weibull distribution which is a log plot. For which I went through the demo of Log plot as shown here:

https://plotly.com/javascript/log-plot/

But for Weibull distribution, YAxis scale function is not just a natural logarithmic function. But its given as follows:

**ln(-ln(1-p))** where p is calculated using a formula.

In short, I want to customize the log scale function for YAxis.

Please guide for some solution.

Instead of using a log scale plot the graph with normal linear scale as x vs y with y= ln(-ln(1-p)). Now the trick is to put proper yaxis ticks in position **ln(-ln(1-p))** but with lable **p**, i.e put custom ticklabel. Check https://plotly.com/javascript/reference/#layout-yaxis-tickvals and https://plotly.com/javascript/reference/#layout-yaxis-ticktext

Hello!

I am interested in doing this, but can’t figure out how I would go about setting y = ln(-ln(1-p)) with a normal linear scale, where should I start?

Thank you!

allenh
4
Hey just wondering, did you manage to find a solution to this? I’m trying to do the same thing but in python. Thanks!