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

How to control the marker size in "scatter_density"? #34

Open
WangYun1995 opened this issue Feb 28, 2021 · 5 comments
Open

How to control the marker size in "scatter_density"? #34

WangYun1995 opened this issue Feb 28, 2021 · 5 comments

Comments

@WangYun1995
Copy link

No description provided.

@mcolic
Copy link

mcolic commented Mar 24, 2021

I have the same question?

@scimax
Copy link

scimax commented May 29, 2021

Hi, I just started to use this package as well. What do you mean with marker size? Do you mean how fine the grid is? There is a parameter called dpi which changes the grid size, see the two images bellow. The first one is with dpi=30, the second with dpi=20.

image
image

@WangYun1995
Copy link
Author

Hi, I just started to use this package as well. What do you mean with marker size? Do you mean how fine the grid is? There is a parameter called dpi which changes the grid size, see the two images bellow. The first one is with dpi=30, the second with dpi=20.

image
image

Hi, @scimax
How do the values of "density", i.e. color bar, change with dpi?

@scimax
Copy link

scimax commented Jun 4, 2021

Well, due to the more coarse binning there are more scatterers in the bin with the highest intensity:

dpi=30 case:
image
dpi=20 case:
image

@WangYun1995
Copy link
Author

Thank you for your answer @scimax. By the way, if the units of x-coordinate and y-coordinate are kilometers, is there any way to express the density as "per square kilometers", i.e. km^{-2}?

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

3 participants