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

INFO: ds9 marker parameters #175

Open
eteq opened this issue Aug 24, 2023 · 1 comment
Open

INFO: ds9 marker parameters #175

eteq opened this issue Aug 24, 2023 · 1 comment

Comments

@eteq
Copy link
Member

eteq commented Aug 24, 2023

This is part of a larger effort to collect what parameters do different backends take for markers. For ds9 the concept of "markers" is not cleanly separated from "regions" - in ds9 they are the same thing. But it's still useful to highlight the regions that are actually "marker-like". The authoritative source I think is actually in the ds9 docs for what ever version you're running, but I think http://ds9.si.edu/doc/ref/region.html is the most authoritative online reference.

The main regions most relevant for markers in my experience are point, circle, and ellipse. The format for the region file for those are below:

point x y # point=[circle|box|diamond|cross|x|arrow|boxcircle] [size]
circle x y radius # fill=[0|1]
ellipse x y radius radius angle# fill=[0|1]

each of those can take a much longer list of properties that are listed at http://ds9.si.edu/doc/ref/region.html#RegionProperties I think the most relevant ones for markers, though, are color, width, text, font.

That pretty much covers it, although with the caveat that any arbitrary sort of region might be used as a "marker" - e.g. a weird star-shaped polygon could be used as a "star" marker.

@eteq
Copy link
Member Author

eteq commented Aug 24, 2023

oh, it also supports line styles via dash/dashlist keywords

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

No branches or pull requests

2 participants