Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: writing quotes in a global variable


From   Eric Booth <[email protected]>
To   "<[email protected]>" <[email protected]>
Subject   Re: st: writing quotes in a global variable
Date   Thu, 23 Jun 2011 12:17:29 +0000

<>

global color105 `""100 100 100""'
di `"$color105"'

See -help quotes-

- Eric
__
Eric A. Booth
Public Policy Research Institute
Texas A&M University
[email protected]

On Jun 23, 2011, at 6:19 AM, Martin Albers wrote:

> Hallo,
> I have a problem. I want to use RGB colors for graphics, because I need 60
> discriminable colors. For this I have to code the colors "# # #". My problem
> is that I cannot write Quotes into global variables. Is there any way or
> trick to do so?
> 
> I need a global variable of the type
> global graph1 "connected `op'ì'' `t', sort, lcolor("100 100 100")"
> 
> or
> 
> global color105 "100 100 100" 
> 
> where the quotes are part of the global variable, because otherwise I cannot
> specify RGB-Colors.
> 
> Thanks in advance.
> 
> Kind regards 
> 
> Martin Albers
> 
> 
> Martin Albers, Dipl.-Stat.
> wissenschaftlicher Mitarbeiter
> Institut für Community Medicine
> Funktionsbereich SHIP-KEF 
> EMA-Universität Greifswald - Medzinische Fakultät
> Walther-Rathenau-Str. 48
> 17475 Greifswald
> URL     ship.community-medicine.de
> Tel.:   ++49(0)3834-86-19572
> Fax:    ++49(0)3834-86-6684
> 
> 
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index