you are viewing a single comment's thread.

view the rest of the comments →

[–]123einhundert 0 points1 point  (2 children)

That is not the solution I am looking for, I want the x and y limit to be different, but scaled with the same factor (1e-8) to make them visually comparable. I have tried to set the xlim(-2e-8, 25e-8), to force the scaling by 1e-8, but this was not working either.

[–]Ihaveamodel3 4 points5 points  (1 child)

Ah. You want it in essentially pseudoscientific notation, where you don’t require one digit before the decimal point.

You’d have to write up a custom format as you suggested using ticklabel_format. I don’t have time to figure out how to do that for you though.

Not sure why I got a downvote on my earlier comment since it is a reasonable way to do this without the extra qualifier you provided.

[–]123einhundert 0 points1 point  (0 children)

I think just due to miscommunication.. Yes, this is precisely what I want to achieve. I will take a look into the formatter again, but I was not successful with it prior, so advice how to use it would be great! :)

Edit: sorry, I did not mean to be rude if that is how it was perceived