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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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