similar to: Plotting C++ output in R

Displaying 20 results from an estimated 2000 matches similar to: "Plotting C++ output in R"

2007 Jan 14
0
[849] trunk/wxruby2/lib/wx/classes/colour.rb: Stock colours weren''t initializing correctly
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2013 May 17
1
Problem with ordiellipse coloured factor in Vegan
Hello R experts, I am trying to plot ordiellipse for my data but the col according to factors. Metabolites_raw= read.csv(file.choose(), head = TRUE) #file 21Metabolites.csv Metabolites_t=t(Metabolites_raw[,2:82]) ord <- metaMDS(Metabolites_t, distance="bray") symbol=as.numeric(Metab_metadata$LandType) col.list <-
2010 Aug 16
1
xyplot - I can't find colors in my picture
Hi, Anybody can tell me why I don't have colors in my picture? library(lattice) my.pch<-c(17,16,15,18,20,9,10,12) my.fill<-c('yellow','black','green','red','blue','cyan','magenta','pink') wzorzec1<- c(1,3,2,4,6,4,2,3) wzorzec2<- c(5,3,6,6,2,3,4,1) a<-factor(wzorzec1) b<-factor(wzorzec2)
2007 Jan 08
0
[843] trunk/wxruby2: Moved stock colours so they are available from library load time
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2004 Oct 17
1
FW: Plotcorr: colour the ellipses to emphasize the differences
-----Original Message----- From: Duncan Murdoch [mailto:murdoch at stats.uwo.ca] Sent: ned 2004-10-17 15:34 To: Gorjanc Gregor Cc: r-help at stat.math.ethz.ch Subject: Re: [R] Plotcorr: colour the ellipses to emphasize the differences On Sun, 17 Oct 2004 02:51:58 +0200, "Gorjanc Gregor" <Gregor.Gorjanc at bfro.uni-lj.si> wrote: [removed old stuff] >>I would also like to
2011 Aug 27
2
Am having trouble calling a function
In my main R program, I have source("retaanalysis/Functions/doAirport.R") .... stuff to read data and calculate ads sapply(ads, function(x) {doAirport(x, base)} ) And doAirport has # analyze the flights for a given airport doAirport = function(df, base) { # Get rid of unused runway factor levels (from other airports) df$lrw <- drop.levels(df$lrw) # In gdata package #
2006 Aug 18
3
Lattice package par.settings/trellis.par.settings questions
Hi All, I'm trying to modify some of the default graphic parameters in a conditional histogram. While I was able to change the default grey background to white, I couldn't change the axis.font or the xlab font. I used the following code: /histogram(~V751|V013+V025, finalbase, xlab="Heard of HIV/AIDS (No/Yes)", col=c("cyan","magenta"),
2006 Nov 15
1
trellis.par.set and grid : how to set by default that I want a grid on my graphes ?
Hello all, I want to draw a grid behind my graphes, using lattice package. I manage to do it with instructions like this one : xyplot(Sepal.Length + Sepal.Width ~ Petal.Length , data = iris, allow.multiple = TRUE, scales = "same",type="l", panel = function(...) { panel.grid(h=-1, v= -1) ; panel.superpose(...) } ) I was wondering if there were a way to do it
2002 May 22
1
white in the default palette
Dear All, [I'd already sent this message earlier (Apr 6) but as I had no response and I still see that it is the case in R1.5 I thought I'd try again] I recently encountered a problem (actually missed some data) because "white" is one of colours in the "default" palette and that does not show up to well on my transparent (on white background). Of course it is
2004 Nov 26
1
problem with xyplot
Dear Rlisters, When trying to indicate which data belong to which of 7 groups, the following plot shows only 5 groups: ss <- trellis.par.get("superpose.symbol") ss$col <- c("red","blue","green","yellow","orange","magenta","cyan") ss$pch <- format(1:7) ss$cex <- 1.2 ss <-
2006 Dec 22
1
heatmap with levelplot?
Hi, How do I anchor z=0 to the white color in a levelplot so that the color changes from cyan to magenta precisely as z changes from negative to positive? Also is it easy to change color scheme, say to blue/red as it's more dramatic? Is there a better function for showing heatmap with a color bar? Thanks in advance for any help, I've played with image, heatmap and levelplot a little and
2010 Dec 18
1
Colours for 3-way probabilities
Are there any R functions for creating palettes for three-way data? For example, election maps for three parties where pure red, blue, and green show 100% for the Red, Blue, and Green parties respectively, magenta shows a 50-50 Red-Blue split with 0 for the Greens, cyan a 50-50 Blue/Green split with no Red votes and so on, with grey, black or white at a 1/3,1/3,1/3 split vote. I've spent a
2008 Jul 07
2
Drawing a colour wheel - bug in hcl?
Hi All, I'm trying trying to draw a colour wheel (a slice of hcl space) in R. Running the code below doesn't give me what I expect - there's some oddly bright colours of the wrong hue around c(0, 0) and I see three coloured circles (a small magenta, a medium sized yellow and a large cyan). Am I doing something wrong or is there a bug in the hcl code? (Also any suggestions for
2006 Apr 17
0
autoscall the y-axis
Dear R users I need to auto scale the left y axis in the code below, so that when I scroll left or right the left y-axis scale changes to accumulate the range of the displayed data with in the max hight of the y-axis. also how can I make the crosshair horizontal since it is only vertical in this code. this code with a kind help from "Gregory (Greg) L. Snow Ph.D." just
2006 Jul 29
1
fancier plotting
Hi thank you for talking the time to help me with this. I have a sequence of numbers in a file and an equal sequence of various character, say(a b c d) each occurs more than once. I need to plot the numbers so that numbers corresponding to a in the other sequence would have green dots, those corresponding to b a red dot, nothing on c and blue square for d. i.e 2 a show a green dot 4 b show a
2017 Nov 12
2
create waveform sawtooth
My tuneR sawtooth wave function generator is broken. When I use the sine function, I get exactly what I expect: a sine wave whose frequency is defined by the freq parameter. In particular, higher frequencies have shorter wavelengths (more cycles per second means shorter waves). When I create a sawtooth wave, the opposite seems to occur: higher frequencies result in longer waves. But that?s not
2017 Nov 12
0
create waveform sawtooth
Ccing the maintainer if the tuneR package. Looks to me like sawtooth (and square) don't behave as expected when using xunit="samples". Workaround is to use xunit="time" instead: sawtooth(110,duration=1/100,samp.rate=sample_rate,xunit="time") I looked at the code but found it to be opaque. -- Sent from my phone. Please excuse my brevity. On November 12, 2017
2005 Mar 30
5
2d plotting and colours
Hi! I am new to R just 3 days in it and i apologize if my questions seem very trivial and consumed your valuable time. I am coding in perl and i stumbled upon R regarding plotting good statistical graphs. I tried the kmean clustering for a large matrix ,say > 150 * 150 . I tried the example code given in the tutorial to perform 2d plot # i ranges from 2 to 10 cl <- kmeans(x, i, 20)
2005 Nov 01
0
Colour palette goes nuts.
Not sure how to describe this or where to point the finger, so I thought I post here before submitting a bug. Wine: 0.9 Application: Titanic Explorer This application is a 'educational' triple CD about Titanic. It is created with macromedia 'director 6' and utilizes QuickTime. It installs fine. Runs fine (needed to disable ddraw on QuickTime) until I try a 'search'.
2011 May 25
0
Adding Mean to Notched Box Plots
Hello everyone, I'm new to R and made my 1st notched box plots this weekend. I've read some of the other post regarding adding means to box plots but I'm still having problems. I've looked at some of the other discussions and R News Volume 3/2, October 2003 which had info also but all these seem to address "groups" of data. I have some rainfall pH data from