USA/Canada - Online Store | Others - Click Here

How do I set custom bar chart colors and other graph properties?

One of the most common operations in SigmaPlot is to set the colors of bars, lines or symbols. We provide a number of built-in schemes, but often these aren’t to your personal tastes or requirement.

1. Bring the worksheet into focus, and enter color(s) into a worksheet column. There are two (well, three) ways to do this.

Insert Graphic Cells

The first way is to select the Insert menu Graphic Cells command. This opens the Insert Graphic Cells dialog box:

To place one of these colors into a worksheet cell, click the cell, then double-click the desired color.

Enter Color Codes

You can also manually enter or edit colors by typing the code for that color into a worksheet cell. All colors are stored in the form @RGB(r,g,b) where r, g, and b are the red, green and blue intensity values.

Provided here is an RGB table for common colors—copy these codes into worksheet cells to create these colors. The notebook RGB Colors.jnb also contains these values.
@rgb(255,255,255)
@rgb(0,0,0)
@rgb(224,224,224) @rgb(192,192,192) @rgb(172,172,172) @rgb(160,160,160)
@rgb(255,224,224) @rgb(255,192,192) @rgb(255,128,128) @rgb(255,64,64)
@rgb(255,240,224) @rgb(255,224,192) @rgb(255,160,128) @rgb(255,128,64)
@rgb(255,255,224) @rgb(255,255,196) @rgb(255,255,152) @rgb(255,255,128)
@rgb(224,255,224) @rgb(196,255,196) @rgb(152,255,152) @rgb(128,255,128)
@rgb(224,255,240) @rgb(192,255,224) @rgb(128,255,208) @rgb(64,255,192)
@rgb(240,255,255) @rgb(192,255,255) @rgb(128,255,255) @rgb(64,255,255)
@rgb(224,240,255) @rgb(192,224,255) @rgb(128,160,255) @rgb(64,128,255)
@rgb(240,240,255) @rgb(192,192,255) @rgb(128,128,255) @rgb(64,64,255)
@rgb(240,224,255) @rgb(224,192,255) @rgb(192,128,255) @rgb(144,64,255)
@rgb(255,224,255) @rgb(255,192,255) @rgb(255,128,255) @rgb(255,64,255)
 
@rgb(128,128,128) @rgb(96,96,96) @rgb(64,64,64) @rgb(32,32,32)
@rgb(255,0,0) @rgb(192,0,0) @rgb(128,0,0) @rgb(96,0,0)
@rgb(255,128,0) @rgb(192,96,0) @rgb(128,64,0) @rgb(96,32,0)
@rgb(255,255,0) @rgb(192,192,0) @rgb(128,128,0) @rgb(96,96,0)
@rgb(0,255,0) @rgb(0,192,0) @rgb(0,128,0) @rgb(0,96,0)
@rgb(0,255,192) @rgb(0,192,144) @rgb(0,128,96) @rgb(0,64,48)
@rgb(0,255,255) @rgb(0,192,192) @rgb(0,128,128) @rgb(0,96,96)
@rgb(0,128,255) @rgb(0,96,192) @rgb(0,80,160) @rgb(0,64,128)
@rgb(0,0,255) @rgb(0,0,192) @rgb(0,0,128) @rgb(0,0,96)
@rgb(128,0,255) @rgb(96,0,192) @rgb(64,0,128) @rgb(48,0,96)
@rgb(255,0,255) @rgb(192,0,192) @rgb(128,0,128) @rgb(96,0,96)

Run the RGBCOLOR transform function

Finally, you can run a user-defined transform to place colors into a worksheet. The RGBCOLOR.XFM transform file contain an example of using this function. The Toolbox menu Color Transition Values macro also utilizes this transform.

Once you have your colors in the worksheet, you can select that column to use for your colors from the Graph Properties dialog box. The column option will appear at the bottom of the drop down list:


Bar, symbols and lines are assigned colors in the order they were originally created.

You can also use this function to assign custom symbol types, line types, and fill patterns. Note that many other attributes can also be taken from worksheet columns, including bar widths, symbols sizes, error bar directions, and major tick mark values.

 
 
bullet
bullet
bullet
bullet
bullet
bullet
bullet
bullet
bullet
bullet
 
bullet
bullet
bullet
bullet
bullet
bullet
bullet
bullet
bullet
 
bullet
bullet
bullet
 
line
Copyright © 2021 Systat Software Inc., - All Rights Reserved.      e-mail: webmaster1@cranessoftware.com
Terms of Use | Privacy Policy | Sitemap