

The resulting color table wave is displayed in an image plot so that you can check that no unintended pixels crept into the color table wave.
#COLORFUL WAVE PNG CODE#
(GraphMarquee code for extracting the color table values, ready to be copied and pasted into an Igor procedure file, follows at the end of this article.) We can use the marquee to indicate where the colors are, and then create a GraphMarquee menu definition and associated code to extract the colors from that region: We want only a portion of the image plot's values for our color table.

STEP 3: EXTRACT THE COLOR TABLE WAVE FROM THE IMAGE PLOT Use Igor 7's Data->Load Image dialog and load the TIFF or PNG screen shot file as an RGB image:
#COLORFUL WAVE PNG MAC OS X#
tiff file is saved to the desktop (some versions of Mac OS X save a. On Macintosh, the built-in screen capture to a file is done by pressing Cmd+Shift+4, using the mouse to drag out a marquee around the to-be-captured element. Loading this screen capture as an Igor RGB Image plot is straightfoward use a screen capture utility to save a. Screen capture of the Ametrine color table Here's an example of reproducing the many-valued " Ametrine" color table from École Polytechnique Fédérale de Lausanne: RECREATING A COLOR TABLE FROM A SCREEN CAPTUREĪ captured screen shot can be used to reproduce a color table when the numeric values aren't available. This is what this color table wave looks like in an image plot and ColorScale: Let's load the file (from the Clipboard in my case) as delimited text into a "color0" matrix wave: You could just copy the values from the text file and paste them into an Igor table, but for larger color tables that would be too painful, and what are computers for, anyway? Sometimes a researcher is kind enough to provide a data file containing the red, green, blue values in a data file, which we can import and rescale to Igor's color range.įor example, from Color Schemes Appropriate for Scientific Data Graphics, you can download a "color number text file", such as this Blue-to-Green 14-step table: Here are some other ways to create color table waves: IMPORTING RGB VALUES FROM A CSV FILE It is useful to realize that any color index wave can also be used as a color table wave the difference is simply that Igor 7 ignores the X scaling when using a wave as a color table wave. COLOR TABLE WAVE VALUESĬolor table (and color index) waves have one row for each color, and 3 or 4 columns for red, green, blue and optionally alpha components containing values that range from 0-65535. We previously showed that you can use Data→Packages→Color Wave Editor to create color table waves by modifying a copy of a built-in color table, or by directly choosing the color for each row of a color wave.
#COLORFUL WAVE PNG PRO#
In " Get to Know a Feature: Color Table Wave Basics", we showed how Igor Pro 7's color table waves are more flexible than Igor Pro 6's color index waves because multiple uses of the same color table wave can cover differing Z value ranges.
