Displaying 20 results from an estimated 5000 matches similar to: "auto.key legend color different from actual plot"
2008 Nov 20
1
Repost:lattice graphics -- legend color problems
Hello R-folks,
I don't get the color of the legend in a lattice-plot right.
I select a palette from RColorBrewer and use (with a col = mypalette argument) it in the barchart plot.
The resulting graph shows the new palette in the graph, but uses the standard palette in the legend rectangles.
Adding a col argument into auto.key uses the new palette
with the legend text, but not in the
2007 Oct 22
2
Strange scroll behavior of Auto Complete inside Active Scaffold.
Hi Everyone.
After a long weekend of testing some stuff out I finally got the auto
suggest working.
I have got a problem however in both IE and Firefox as the drop down
scrolls the page down to the element only when the up arrow is
pressed.
Here is a detailed example.
When I have
<%= text_field_with_auto_complete :product, :colour %>
in my product _form.rhtml override...
... and in my
2005 Dec 09
1
lattice legend colors recycling sooner than expected
dear r-helpers,
it seems the colors in an automatically generated lattice legend
recycle after the 8th color, even when the user has set e.g.
superpose.symbol$col to be longer than 8. the following example will
illustrate what i mean:
z <- data.frame(x=rep(letters[1:15], each=4), y=rnorm(60),
groups=rep(LETTERS[1:3], 20))
library(nlme)
library(lattice)
plot(groupedData(y ~ x |
2009 Oct 12
1
Loading data to Trellis barchart plot.
Dear all,
I have a question about loading the data to barchart plot. I know this could
be a very easy question, but I just can not get my head around.
What I need to do is to create a trellis plots barchart style (horizontal
bar), with levels of one variable (ie. variable “colour” in my example) as
ylab and frequency as xlab on each trellis plot. The trellis plots is
separated based on
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
2011 Aug 17
2
Lattice: problem with setting space between plot and legend
Dear R Users,
I am writing code to present my output data (I'm using Lattice Package).
However, it's essential for me to control space between barchart and legend.
I've read the package's specification, but unfortunately I haven't spot the
information how to do this. Here's the code I've written:
barchart(mymatrix[,1:ncol(mymatrix)],horizontal=FALSE,
2008 Feb 09
1
problem using evalJSON with Ajax
Hi, all
I am trying to use evalJSON with Ajax, but somehow it doesn''t work.
for instance, I have a php file has the following output:
"name": "Violet", "occupation": "character"
and I have a html file with the following javascript:
new Ajax.Request(''/some_url'', { method:''get'', onSuccess:
2013 Jan 07
1
posting a question in the R-help forum
Hello,
I wanted to post this question below, on the R-help forum, but I'm not sure
I succeeded because it said that I wasn't subscribed to the mailing list
yet.
Now I am subscribed, but will my question be accepted now automatically, or
should I submit it again?
Thanks in advance,
Violet Swakman
Hello everyone,
I'm having trouble understanding my output from a linear mixed effects
2011 Sep 01
1
Background fill and border for a legend in dotplot
Dear R help group
I've been working on this plot for a while now and now getting around to the
minor adjusments. I would like to be able to put a border and background
fill around the legend in this plot.
I understand the legend 'bty' should do this have this capablity but not
sure how the syntax works in this case
###### initalise
library("lattice")
2016 Nov 23
2
[HCL] CyberPower Cyber Power Systems CP685AVR supported by usbhid-ups
It looks like the CyberPower Cyber Power Systems CP685AVR supported by
usbhid-ups has a favorable device dump linked to the Devices Dumps
Library page here:
http://networkupstools.org/ddl/Cyber_Power_Systems/CP685AVR.html
However, it is not listed anywhere on the Hardware Compatibility List
(HCL) page here:
http://networkupstools.org/stable-hcl.html
This appears to be an omission on the HCL
2019 Apr 01
2
New grDevices::hcl.colors()
Hi everyone,
I wanted to draw your attention to a new post on the
developer.R-project.org blog:
https://developer.R-project.org/Blog/public/2019/04/01/hcl-based-color-palettes-in-grdevices/
A new function grDevices::hcl.colors() greatly extends the color palette
functionality available in base R. Also, the defaults in the heatmap
functions image() and filled.contour() have been adapted
2000 May 07
2
OPENSSH and Red Hat
Hi All
We use Red Hat Linux 6.0 First we download openssh-1.2.3.tgz them we
decompress the file. First we was unable to find the install instructions.
We find it on violet.ibs.com.au them we was unable to find the ./configure
file that its mention on the INSTALL instructions.
And if we tried to run make we receive:
Makefile:3: *** missing separator. Stop.
How the tgz does not work for us we
2023 Feb 21
1
MFA variables graph, filtered by separate.analyses
Hi!
Apologies if this is not the correct place to ask. I am attempting a
MFA analysis of a dataset based on wine chemical and sensory analysis,
based on the STHDA tutorial [1]. (I am using this dataset here too, as
an example dataset to work on without posting my actual data. I've
tried this with both my data and the example data, with the exact same
results.)
The only issue I am having is
2009 Nov 05
1
Set colors in a PCA plot based on a gradient vector
Hi all,
I'm making a PCA plot with eight variables (columns taken from a larger data frame "fieldTrial0809[idx,c(39:46)]"). I then want the symbols in the plot to be colored as a gradient from red to blue, depending on the value of another column in "fieldTrial0809[idx, c(48)]" containg temperatures from -12.1 to -5.4.
I don't want to use the heat.colors(n)
2019 Apr 02
2
New grDevices::hcl.colors()
Hi Z
I think supporting HCL color spaces more, is a *very* good idea.
However, I doubt many R users, understand the motivation for HCL color
spaces.
I've reproduced Ross Ihaka's notes on color, on my personal website:
https://sites.google.com/site/spurdlea/exts/ihaka_r_stats_787_10_color.pdf
(This has been reproduced with permission).
Another good article is:
2013 Oct 30
2
UPS Product additions to NUT HCL list for compatible Tripp Lite UPS systems
Hello Mr. Leppe,
See the attached excel file that covers the current Tripp Lite HID compatible UPS systems. There is also an attached Word document covering the UPSC / UPSCMD / UPSRW information from the specific UPS systems. Let me know if this is adequate to get our additional HID compatible products added to the NUT HCL listing.
Tripp Lite
Eric K. Cobb
Product Management Specialist
1111
2017 Nov 12
5
Cyberpower model numbers in the HCL
Anyone familiar with Cyberpower's model numbers?
I finally got sick of my Tripplite's USB port going south, all the time, so
I'm looking to replace it.
The HCL has an entry for a Cyberpower model CP1500AVRLCD. Not listed is the
CP1500PFCLCD model, a newer, premium version of the unit; but the HCL does
have an entry for the CP1000PFCLCD model.
Pretty sure that the CP1500PFCLCD
2005 May 24
1
image() and non-well-ordered colours
Hi.
I want to use image() with colours that are indexed by two variables.
Indexing by one variable is easy:
library(colorspace)
x <- seq(from=0, to=1,len=30)
z <- outer(x,1i*x,"+")
image(Re(z),col=hcl(seq(from=0,to=100,len=15),c=100))
OK, so far so good. Now, I want the colour to be a more complicated
function
of z, in which both the hue and luminance change (thus the colours
2005 Jun 24
1
hcl()
Hello everyone
I am struggling with hcl().
It says on the manpage that "240 yields blue".
With this:
plot(1:50,pch=16,col=hcl(h=240, c=50, l=1:50))
I get mostly blue, but also some red, dots. Note that h=240
throughout. If 240 is blue,
how come there's a red dot there? Or is it just my monitor?
Can some colour expert help me on this?
--
Robin Hankin
Uncertainty Analyst
2009 Jul 05
2
JSON data not decoded in Rails
Hello all,
I''m trying to send some json data from the browser to the server using
prototype without success. On the server side ActiveSupport::JSON.decode
isn''t decoding the data.
Here is the code:
Javacript:
<a href="#" onclick=''send();return false;''>click</a>
<script>
function send() {
var send_data_url =