Graphics, Figures & TablesPstricks nodes in color

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
thomchad
Posts: 2
Joined: Mon Jul 27, 2009 6:03 pm

Pstricks nodes in color

Post by thomchad »

Hi,

I would like to fill my nodes with color. I guess I could use pscircle, but that means I have to define a node AND a circle for each node, which gets very messy.
So far, I have this:
\cnodeput(0,0){A}{A}

and I'd like to have something like this:
\cnodeput[fillcolor=blue](0,0){A}{A}

Is there any way to get that?
Thanks!
Thomas

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

thomchad
Posts: 2
Joined: Mon Jul 27, 2009 6:03 pm

Re: Pstricks nodes in color

Post by thomchad »

Nevermind, I found the answer. I forgot to add "fillstyle=solid".
So this works:
\cnodeput[fillstyle=solid,fillcolor=lightgray](0,0){B}{B}

Tom
Post Reply