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

Contour Plots #71

Open
9prady9 opened this issue Dec 22, 2015 · 6 comments
Open

Contour Plots #71

9prady9 opened this issue Dec 22, 2015 · 6 comments
Assignees
Labels
Milestone

Comments

@9prady9
Copy link
Member

9prady9 commented Dec 22, 2015

All most all of the forge objects have the option to let user provide per vertex attributes such as colors and alphas for rendering.

In the case of contour plots, I am not sure if per vertex colours or alphas makes any sense. One possible usage that i can see is per iosline color and alpha values.

@arrayfire/core-devel Any possible use cases of allowing per vertex colours/alphas ? An alternative to these per vertex attributes i thought off is using colormaps with isolines, which is the most common way of coloring contour lines from what i have seen so far.

@9prady9 9prady9 self-assigned this Feb 11, 2016
@9prady9 9prady9 added this to the 1.0.0 milestone Feb 11, 2016
@pavanky
Copy link
Member

pavanky commented Feb 11, 2016

Whats the difference between the two setColor methods ?

@9prady9
Copy link
Member Author

9prady9 commented Feb 11, 2016

@pavanky The one which takes enum as input calls the float version internally after computing color from enum.

@bkloppenborg
Copy link

As you mention, it is very common to color isolines. Also it is common for every N-th iso-line to be thicker. Beyond this, I've never seen any plot that has color/alpha settings for individual verticies.

@9prady9
Copy link
Member Author

9prady9 commented Feb 12, 2016

@bkloppenborg

Lets dump alphas from discussion for now.

Color per isoline is one feature that will be needed, which can be done using separate color buffer or colormaps.

By thickness of Nth isoline, did you mean among all isolines, only one isoline will be made thicker than others or each isoline will have a thickness of it's own ?

@bkloppenborg
Copy link

Here are a few examples of things I've seen.

  1. Color dependent on z-value:
  2. Thickness of line (e.g. point size) dependent on z-value being positive:
  3. N-th iso-line being thicker (this is standard for topographic maps):
  4. Filled iso-surfaces

@pavanky
Copy link
Member

pavanky commented Feb 12, 2016

I don't think this should be in 1.0

@9prady9 9prady9 removed this from the 1.0.0 milestone Feb 19, 2016
@9prady9 9prady9 added this to the 2.0 milestone Nov 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants