Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beautify Log/Log list plots with bad X scale #10

Open
axkr opened this issue Mar 31, 2023 · 3 comments
Open

Beautify Log/Log list plots with bad X scale #10

axkr opened this issue Mar 31, 2023 · 3 comments

Comments

@axkr
Copy link
Contributor

axkr commented Mar 31, 2023

Please beautify Log/Log list plots with bad X scale.

Also the origin of the plot is set in point (1,1) but should be set in (0,0).

https://jsfiddle.net/axelclk/nfsheak0/

image

@axkr
Copy link
Contributor Author

axkr commented Apr 27, 2023

This problem still exists:

Also the origin of the plot is set in point (1,1) but should be set in (0,0).

Any suggestions how to tackle this?
Do we need to provide more information in the data to make this easier for jsxgraph?

@alfredwassermann
Copy link
Member

Please apologize my ignorance. My understanding is that $(1,1)$ = $(e^0, e^0)$ and therefore the point $(1,1)$ is at the x-/y-intercept of a log / log scale axis.

@axkr
Copy link
Contributor Author

axkr commented May 3, 2023

Please apologize my ignorance. My understanding is that ...

yes I think I've used a wrong example.

I created this new jsFiddle:

For the x/y scales I think I need a possibility to calculate the x/y "inverse" scales with the exp function.

"axes": {
    "hasaxes": [true, true],
    "scaling": ["exp", "exp"]
  },

Is there a general way to define a "mapping function" for the scales, which can be calculated by jsxgraph?
For example defining formulas for x and y like "scaling": ["exp(x)", "y^10"] or something similar ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants