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

Bring back x.colormapgui() (and add color related resources on the web/wiki)? #140

Closed
jypeter opened this issue Mar 8, 2017 · 7 comments
Labels
Milestone

Comments

@jypeter
Copy link
Member

jypeter commented Mar 8, 2017

@doutriaux1 I have just spent some time on the web site and wiki looking for some information/documentation about vcs and colors. Either I have been very unlucky, or there is no web page on this rather important topic. I have even started uvcdat in case I quickly saw some menu about color.

I vaguely remember discussions about viridis, transparency and other color related stuff but I have not found any page about this. I have found CDAT/cdat#906

Would it be possible to bring back the old x.colormapgui() method in vcs, or something similar? This could maybe help people. And at least have a dedicated web page about colors, showing the available colormaps

For the people who never knew this nice vcs panel, I have added below the content of help(x.colormapgui)

Help on method colormapgui in module vcs.Canvas:

colormapgui(self, gui_parent=None, transient=0, max_intensity=None) method of vcs.Canvas.Canvas instance
    Function: colormapgui
    
    Description of Function:
       Run the VCS colormap interface.
    
       The colormapgui command is used to bring up the VCS colormap interface. The interface
       is used to select, create, change, or remove colormaps.
    
    Example of Use:
       a=vcs.init()
       a.colormapgui()
       a.colormapgui(max_intensity = 255)
(END)

I have also added below a few of the old (September 2011!) screenshots I made of colormapgui, in order to help me work with colors
vcs_rainbow

vcs_rainbow_no_grn

vcs_amip

@doutriaux1
Copy link
Contributor

@chaosphere2112 @mattben do you think it would be possible to have this function fireup vcdat and bring in the colormap editor? That would be awesome!

@durack1
Copy link
Member

durack1 commented Mar 8, 2017

@chaosphere2112 @mattben @doutriaux1 @jypeter 👍 from me too.. Having the colormaps (and all the options) exposed would be great.. Documentation would make UV-CDAT great again..

@mattben
Copy link

mattben commented Mar 8, 2017

this is not official released docs. Take it as a alpha

  • pre peer reviewed
  • use at your own risk

https://uvcdat.llnl.gov/docs/vcs/misc/colormap.html

@durack1
Copy link
Member

durack1 commented Mar 8, 2017

This relates to some discussion at CDAT/cdat#1345 (comment) (and some palette examples) and also CDAT/cdat#1345 (comment) further down the same page

This is also useful discussion, and some examples of colormaps presented for other software.. CDAT/cdat#906 (comment)

@chaosphere2112
Copy link
Contributor

@jypeter @durack1 @doutriaux1 Not on the timeline for this release. There's no technical reason why we couldn't do this (assuming python's webbrowser module works on your machine). There's technically no reason we couldn't look at going full-bore into the old-school VCS style, where you could launch an editor for anything you're working on. We wouldn't need to launch all of VCDAT, just a small page that uses the vcs-widgets package to render the editor (basically the same way that the Jupyter integration will work) and a embedded HTTP server to handle the "save" action.

@doutriaux1
Copy link
Contributor

@chaosphere2112 obviously not for this release (code freeze already happened anyway) but yes for CDAT 1.0 (or a beta before that).

@doutriaux1 doutriaux1 modified the milestone: 3.0 May 5, 2017
@doutriaux1 doutriaux1 modified the milestones: 3.0, post 3.0 Mar 29, 2018
@doutriaux1 doutriaux1 modified the milestones: 8.1, 8.2 Mar 27, 2019
@doutriaux1
Copy link
Contributor

this will be part of VCDAT 2 and can be done in VCDAT 1.0

@downiec downiec modified the milestones: 8.2, 8.2.1 Jul 27, 2020
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

6 participants