swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setColors


From: Marcus G. Daniels
Subject: Re: setColors
Date: 15 Nov 2001 12:54:14 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.7

>>>>> "DC" == david camacho <address@hidden> writes:

DC>  [mekGraphA setColors:"green" count:1];

DC> but the compiler said:
DC> "passing arg1 of "setColors: count:" from incompatible pointer type.

DC> How could I set the colors of my curves?

Instead, you'd need an array like:

   const char *myColors = { "red", "green", "blue" };

Which you'd pass like this:

   [mekGraphA setColors: myColors count: 3];


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]