Skip to content

Contour Plots #71

Open
Open

Description

@9prady9

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.

Activity

  1. self-assigned this
    on Feb 11, 2016
  2. added this to the 1.0.0 milestone on Feb 11, 2016
  3. pavanky commented on Feb 11, 2016

    @pavanky
    Member

    Whats the difference between the two setColor methods ?

  4. 9prady9 commented on Feb 11, 2016

    @9prady9
    MemberAuthor

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

  5. bkloppenborg commented on Feb 12, 2016

    @bkloppenborg

    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.

  6. 9prady9 commented on Feb 12, 2016

    @9prady9
    MemberAuthor

    @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 ?

  7. bkloppenborg commented on Feb 12, 2016

    @bkloppenborg

    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
  8. pavanky commented on Feb 12, 2016

    @pavanky
    Member

    I don't think this should be in 1.0

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions