search for: colorbar

Displaying 20 results from an estimated 25 matches for "colorbar".

Did you mean: colourbar
2010 Mar 25
4
3 levelplots and 1 colorbar
I want to create a simple plot containing three levelplots with one colorbar. I used the "Three levelplots" code below, but the third levelplot is drawn smaller than the first two. However, if I try the "Two levelplots" code below it works well. Can anybody tell me how could I draw three levelplots (of the same size) with one colorbar. Thanks in advance...
2007 Nov 30
2
using color coded colorbars for bar plots
...request for help in regard to a "simple" plotting question. I have displayed the mean observations of a series variables using barplot(). On the same figure I have colored the bars to represent the Standard deviation of each variable using color.scale(). Now I wish to add a graduated colorbar (legend) that corresponds to the colors representing the standard devitation. Simple. Or so it seemed. Has anyone attempted to do this before? Thanks for your time. Jim Dell
2010 Nov 05
1
filled.contour colorbar without black color separators?
Dear list members, I have been using filled.contour in order to plot EEG data. For the colors, I used a conventional ramp from blue to red (blue - green - yellow - red), and 100 color levels to make the plot looking smooth: (...) color.palette = colorRampPalette(c('blue','green', 'yellow','red'), space='rgb'), nlevels = 100 (...) My problem ist that
2011 Nov 23
1
Colorbar too wide in eps
Hi! When I plot my filled.contour plot > filled.contour(dat,color=rainbow,plot.axes=matrix.axes(dat),xlab=myxlab,ylab=myylab) everything looks fine on the screen. But if I wrap these two lines >postscript(file="myplot.eps",paper="special",width=4,height=4,family='Times',horizontal=FALSE) ... >dev.off() around the line above in order to create an eps file, the
2007 Jun 10
0
In this case just use 'colorbar' to get a 'legend'.
CAON Releases Fact Sheet For Investors Chan-On International Inc. Symbol: CAON Close: $0.72 UP 4.35% Read this over the weekend, you won't be sorry. CAON has changed direction and investors love it. Friday's volume went through the roof. Big news expected Monday. Set your marker for CAON first thing Monday! Number of generators needed? On two computers the program was slowed down and
2012 Nov 14
2
Multiple groups barplot
...s from the attached image (from The Cancer Genome Browser at UCSC) You can see the class of each sample represented by the color. Clearly here there are useless variables, like sample name, but the example gives an idea of what I would like to get. So far I was able to achieve a pseudo-result with colorbar.plot, but I find it hard to get the labels in the correct position, as it seems like I cannot find a way to automatically put them near each class bar Any suggestions other than colorbar.plot?
2001 Aug 27
1
colorbar legend for image()
Hi, are there any plans to add a colorbar legend to image()? Or such a possibility already implemented which I just haven't discovered yet. Anyway, I will be willing to spent some time on the implementation if there isn't anyone working on that already. Thanks Thomas -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-....
2008 Mar 15
1
How to create following chart for visualizing multivariate time series
...n <Roy.Mendelssohn@noaa.gov> wrote: Date: Thu, 28 Feb 2008 20:55:23 -0800 From: Roy Mendelssohn <Roy.Mendelssohn@noaa.gov> Subject: Re: [R] Fwd: Re: How to create following chart for visualizing multivariate time series To: Megh Dal <megh700004@yahoo.com> What you are after is a colorbar. There is a colorbar option in the GLAD package in Bioconductor. See also the response at: http://tolstoy.newcastle.edu.au/R/help/05/02/12896.html HTH, Roy M. On Feb 28, 2008, at 8:38 PM, Megh Dal wrote: Hi Jim, i think you could not get my point. I did not want to...
2008 Mar 15
1
Fwd: Re: How to create following chart for visualizing multivariate time series
...n <Roy.Mendelssohn@noaa.gov> wrote: Date: Thu, 28 Feb 2008 20:55:23 -0800 From: Roy Mendelssohn <Roy.Mendelssohn@noaa.gov> Subject: Re: [R] Fwd: Re: How to create following chart for visualizing multivariate time series To: Megh Dal <megh700004@yahoo.com> What you are after is a colorbar. There is a colorbar option in the GLAD package in Bioconductor. See also the response at: http://tolstoy.newcastle.edu.au/R/help/05/02/12896.html HTH, Roy M. On Feb 28, 2008, at 8:38 PM, Megh Dal wrote: Hi Jim, i think you could not get my point. I did not want t...
2003 Sep 12
1
levelplot
Dear helpers, I have strange results with levelplot: The following lines of code produce a figure with a strange gray horizontal line. Changing n to 9 the line vanishes almost - it stays in the colorbar. Any ideas? The pixel geometry of the lower half of the figure is wrong? ############################## n<-8 xyz<-expand.grid(x=seq(1,n),y=seq(1,n)) z<-matrix(0,n,n) z[,(n/2-1):(n/2+1)]<-1 xyz$z<-as.vector(t(z)) library("lattice") levelplot(z~x+y,xyz) ###################...
2009 Aug 06
1
adding color bar to a graph
...df - i will also attach this file in case some people accept attachments. So i took apart the cor.plot function from mvoutlier and i used instead of the scatter plot function the smooth scatter density plot from geneplotter, generating my own function called cordens.plot. Now i would like to add a colorbar on the right side of the graph with red as my highest density and purple as the lowest density and right next to the colors labels "min" for purple and "max" for red (i don't want actual numbers, although i suppose i can deal with that as well if need be). I've tried...
2013 Dec 02
3
legend position
Hi all. I'm ploting a raster and I can't find the proper way to move the legend. For example, r = raster(system.file("external/test.grd", package="raster"))plot(r) How can I put the legend at the desired position? Thank in advance,Phil [[alternative HTML version deleted]]
2004 Nov 26
1
Multi-figure plotting
...en I subsequently use the functions I get problems with the legend. It plots my image nice in the upper part of my pixture, adds the timeseries below, but it does not plot the rectangles of the legend. I don't know what I do wrong, because it plots perfectly the axis of the legend, but the colorbar is invisible. All suggestions would be wonderfull! Thanx in advance, Stef
2013 Sep 16
1
Patch: fix segfault from empty raster
...lowing, running under Rgui on Windows 7: library(ggplot2) ggplot(data.frame(x=1, y=1, z=4.7), aes(x, y, z=z)) + stat_summary2d() This reliably causes a segmentation fault. sessionInfo() below. What's happening is that (for reasons which I'll discuss with the ggplot2 developers) the 'colorbar' guide is being built with a zero-size source raster. In L_raster() (grid.c), this raster is not a "nativeRaster", so we do image = (unsigned int*) R_alloc(n, sizeof(unsigned int)); with n = 0, and R_alloc() gives us a NULL pointer. The display of this raster requests interpol...
2013 Jul 24
1
Alpha channel in colorRamp() and colorRampPalette()
Hi all, I had the need to create a colorbar considering the alpha channel of the colors, but colorRamp() and colorRampPalette() ignored the alpha argument in rgb(). So I performed some minor modifs. in their codes, as to support the interpolation using the alpha channel. I guess that those simple modifications might be useful for other pe...
2008 Jun 13
1
adding custom axis to image.plot() and strange clipping behavior
Hi list, I wanted to plot an image with a colorbar to the right of the plot, but set my own axis labels (text rather than numbers) to the image. I have previously accomplished this with two calls to image(), but the package 'fields' has a wrapper function, image.plot(), which does this task conveniently. However, I could not add axes to th...
2012 Feb 28
1
Unexpected behaviour for RowSideColors in function heatmap
Hello, I have come across some unexpected behaviour of the function heatmap in the stats package. This looks like a bug to me, but I might have misunderstood something. When calling the function in symmetric mode, the ColSideColors are plotted correctly, but RowSideColors appear in reverse order. This code (modified from the example on the help page) demonstrates the problem: cU <-
2006 Mar 25
2
Rails Plugins: How to copy artefacts to the public directory during install? When is install.rb executed anyway?
...assumption is wrong: -- DC:~/t2/testtest mkamp$ ./script/plugin install http://topfunky.net/svn/plugins/css_graphs A /Users/mkamp/t2/testtest/vendor/plugins/css_graphs A /Users/mkamp/t2/testtest/vendor/plugins/css_graphs/images A /Users/mkamp/t2/testtest/vendor/plugins/css_graphs/images/colorbar.jpg A /Users/mkamp/t2/testtest/vendor/plugins/css_graphs/init.rb A /Users/mkamp/t2/testtest/vendor/plugins/css_graphs/lib A /Users/mkamp/t2/testtest/vendor/plugins/css_graphs/lib/css_graphs.rb A /Users/mkamp/t2/testtest/vendor/plugins/css_graphs/MIT-LICENSE A /Users/mkamp/t2/testtest...
2013 Feb 14
2
Plot a Matrix as an Image with ggplot
Dear all, I am trying to plot a matrix I have? as an image str(matrixToPlot) ?num [1:21, 1:66] 0 0 0 0 0 0 0 0 0 0 . ?that contains only 0s and 1s, where the xlabel will be Labeled as str(xLabel) ?num [1:66] 1e+09 1e+09 1e+09 1e+09 1e+09 ... and the yLabels will be labeled as str(yLabel) ?num [1:21] -88 -87 -86 -85 -84 -83 -82 -81 -80 -79 ... I have found on the internet that I can do
2008 May 31
0
FFT Resampler spectrograms
...pen([fn, '.fl'], 'r', 'ieee-le'); x=fread(myfile, Inf, 'float32', 0, 'ieee-le'); fclose(myfile); X=specgram(x,2048,1,kaiser(2048,14)); spectrogram_floor=-96; pcolor(max(spectrogram_floor,20*log10(abs(X(end:-1:1,:))))); shading flat colorbar print('-dpng','-r300', [fn, '.png']) end ['Done'] I've posted the output for the filter-based and block-based resampler at different qualities at http://www.mumble.info/resamp/ The resampling was 96khz => 44.1khz. "chirp.png" is the original (...