search for: colorbars

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

Did you mean: colorbar
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, Joaquin ### Three
2007 Nov 30
2
using color coded colorbars for bar plots
Hello R Fundi, The poetic title of this post is a 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
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
Hi everyone, I have a certain number of samples and I want to visualize the groups those samples belong to. For example, suppose to have three variables, age, sex, and smoker/nonsmoker, and three samples, S1, S2, S3. S1 is 35, male, nonsmoker S2 is 24, female, nonsmoker S3 is 24, female, smoker at the end I have the following data frame: S1 S2 S3 age 35 24 30 sex M F F smk N N S What I
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 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read
2008 Mar 15
1
How to create following chart for visualizing multivariate time series
Let me take an artifical matrix : dat = matrix(rnorm(200*200), 200, 200) My goal is to visualize this matrix according to the procedure, described in previous mails. I took Mendelssohn's advice and got following advice : ?plot.im Z <- setcov(owin()) plot(Z) .................... etc However I can not reproduce this example in my problem. How I can change my data
2008 Mar 15
1
Fwd: Re: How to create following chart for visualizing multivariate time series
Thanks David, It is working. Holtman's also gave me a solution but, I wanted to have a color pallet for description of colors, that was not in his solution. However I need one small modification. If I want to plot only lower diagonal elements of 'dat' then how should I proceed? What I want is, to visualize only lower diagonal elements and having the color pallet on them only. Also
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)
2009 Aug 06
1
adding color bar to a graph
Hi everybody, I am wondering how i can add a "stretch" color bar / legend to a graph that uses colorBrewer to define the colors in it. I will try to explain my graph, but i also uploaded it at: ftp://ftpext.usgs.gov/pub/er/fl/st.petersburg/Monica_pal/ The file is: robcor_training_pca.pdf - i will also attach this file in case some people accept attachments. So i took apart the
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
Dear R-ians, I have a question concerning plotting different plots on one figure. I have written a script to plot an image, a legend (based on different rectangles) and a timeseries plot on one figure. In my R-lagnuage it looks like this (without arguments that are not usefull for my question): #---> I first define the functions image.data<-function(...){ .... #-->Plot the
2013 Sep 16
1
Patch: fix segfault from empty raster
Hi, A colleague recently came across an R crash, which I can boil down to the following, 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'
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 people, so perhaps it would be worth to add them to
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 the original image after a call to image.plot(); I
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?
Hi, I want to write a plugin that uses JavaScript and I am wondering how to put the static content, i.e. the JavaScript, in place? I read the documentation I found ( http://wiki.rubyonrails.org/rails/pages/Plugins and links) and looked at the listed plugins. One thing I found was that subversion seems to be a prerequisite for providing or even installing plugins. Is that right? The other thing
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
Using the following MATLAB snippet: fnames={'chirp','perfect','block','filter'} for k=1:length(fnames) fn=fnames{k}; myfile=fopen([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;