Displaying 6 results from an estimated 6 matches for "colorscale".
2012 Apr 28
1
How to custom colorscale in treemap
...t I wanted is 0(Green)-1(Red)-max(green). What's the easiest way to
achieve this kind of divergent color scale?
How shall I make my own palette and use it in the map.market or tree map
function?
Thank you very much~
--
View this message in context: http://r.789695.n4.nabble.com/How-to-custom-colorscale-in-treemap-tp4594161p4594161.html
Sent from the R help mailing list archive at Nabble.com.
2010 Aug 06
3
image plot but data not on grid.
...o make an image
however the values in z are not on an uniform grid.
Have a dataset with
length(x) == length(y) == length(z)
x[1],y[1] gives the position of z[1]
and would like to encode value of z by a color.
looking for something like
plot(x,y, col = z)
where col for z is cleverly chosen from a colorscale.
Hope I made clear what I am looking for.
Thanks
Eryk
2012 Mar 18
1
problem saving gplot.hexbin using file save as pdf - "Error: invalid graphics state
...#39;m not using the ylab inside gplot.hexbin because it writes over the
numbers on the axis.
The file is 33k records but I could get a subset and paste in here if
people need that to resolve the issue.
the code
par(oma=c(3,3.5,3,1))
par(mar=c(2, 4, 0, 0))
plot.new()
gplot.hexbin(h, style = "colorscale",
colramp = function(n) {LinGray(7, beg=92, end=1)},
colorcut = 8,
xlab = "", ylab = "", main = "",
legend = .75, lcex = .8)
mtext("Outside Temperature (F)", side=1, line = 2, col="black",cex=1.1)
mtext("Electrical Power (kW)...
2010 Mar 09
3
Fine Tuning Plotrix
Dear All,
Please see the code snippet at the end of the email.
I am using the color2D.matplot in Plotrix to plot a matrix.
It works great, but there are a few things I cannot figure out
(1) the value of cex.axis in the code snippet does not seem to affect
the final pdf at all (at least on my system, Ubuntu 9.10, plotrix and
Cairo installed from cran). How do I specify the size of the axis ticks
2010 Jun 23
5
Plotrix Trick
Dear All,
I am using the plotrix library to plot some matrices.
I have a problem: some of my data are outliers, hence using a linear
color scale does not work very well (you would see too many cells having
a similar, indistinguishable color). See the code snipped at the end of
the email.
Plotting the logarithm of the data gets the job done, but my problem is
that I would like to write in every
2011 Feb 20
2
Same color key for multiple lattice contour plots
Hi all,
I'm trying to make multiple lattice contour plots which have the same color
key, to allow good comparisons. However, I run into some problems when
fitting the plots to the color key. Basically my strategy to tackle this
problem was:
1) define a color key for all plots;
2) calculate the variable range for each plot;
3) calculate the range of colors from the color key that correspond