Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: writing quotes in a global variable


From   Eric Booth <ebooth@ppri.tamu.edu>
To   "<statalist@hsphsun2.harvard.edu>" <statalist@hsphsun2.harvard.edu>
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
ebooth@ppri.tamu.edu

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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index