Displaying 4 results from an estimated 4 matches for "showcolors".
2003 Jan 24
4
new function: showcolors {base}
I propose to add a function that allows
to display colors selected by a text pattern
or by color vectors in a plot.
Wolfram Fischer
#--- showcolors.R
showcolors <-
function(
col = "red"
, index = NULL
, pie = TRUE
, lwd = 6
, cex = 1.0
, main = NULL
, sub = NULL
, ...
){
n.colors <- length( col )
if( n.colors > 1 ){
main <- deparse( substitute( col ) )
title <- qt.colors <- col
}else{
qx.colors &...
2012 Sep 21
2
[LLVMdev] Clang API parsing of the destructor
...setting I'm missing in my clang API usage. Can anyone indicate what that might be. I've been searching all over for a missing option/configuration.
Here is my clang API usage:
// Include appropriate headers.
int main()
{
clang::DiagnosticOptions diagnosticOptions;
diagnosticOptions.ShowColors=1;
diagnosticOptions.ShowOptionNames=1;
clang::TextDiagnosticPrinter *pTextDiagnosticPrinter =
new clang::TextDiagnosticPrinter(
llvm::outs(),
diagnosticOptions);
llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> pDiagIDs;
clang::DiagnosticsEngine *pD...
2012 Sep 21
0
[LLVMdev] Clang API parsing of the destructor
...> indicate what that might be. I've been searching all over for a missing
> option/configuration.****
>
> Here is my clang API usage:****
>
> // Include appropriate headers.
> int main()
> {
> clang::DiagnosticOptions diagnosticOptions;
> diagnosticOptions.ShowColors=1;
> diagnosticOptions.ShowOptionNames=1;
> clang::TextDiagnosticPrinter *pTextDiagnosticPrinter =
> new clang::TextDiagnosticPrinter(
> llvm::outs(),
> diagnosticOptions);
> llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> pDiagIDs;
&g...
2003 Jan 24
0
new function: twotailed.colors {base}
...de{par}.
}
\seealso{
\code{\link{cm.colors}},
\code{\link{colors}}, \code{\link{palette}}, \code{\link{hsv}},
\code{\link{rgb}}, \code{\link{gray}} and \code{\link{col2rgb}} for
translating to RGB numbers.
}
\author{
Wolfram Fischer
}
\examples{
twotailed.colors(12)
twotailed.colors(24,12)
showcolors( twotailed.colors(24,12) )
}
\keyword{color}
\keyword{dplot}
#---