Skip to content
Prev 22386 / 29559 Next

Visualize negative/poitive data using levelplot in R

Hello,

You did answer this same question at stackoverflow (
http://stackoverflow.com/q/28753126/964866) without letting us know about
it. This post is worth reading if you really need to do cross-posting (
http://www.coderanch.com/how-to/java/BeForthrightWhenCrossPostingToOtherSites
):


This practice may not be in the interests of the ranchers who might be
responding to your posts. Many folks may find that they have wasted their
time and effort. You certainly don't want to annoy those you want to help
you, so you might want to make the experience as painless as possible.
The best way to do something like this (without ticking people off) would
be to let people know upfront that the crossposting is occurring. This
makes the most sense if there's a respectable delay between posting in one
forum and another, e.g:
"I posted this question the other day in SomeOtherForum.com [link], but
wasn't able to get a good answer, so now I'm asking here..."


I have just posted a simple answer to your question which I reproduce here:

In my opinion, you have two choices:

1. Use a different key for each graph.
2. Rescale the data to create a common scale.

Because you need a single colorkey you should rescale the data. Although
this document (
http://www.perceptualedge.com/articles/visual_business_intelligence/dual-scaled_axes.pdf)
is about time series, it gives good advices about this issue.

Best,

Oscar.

-----------------------------------------------------------------
Oscar Perpi??n Lamigueiro
Dpto. Ing. El?ctrica, Electr?nica, Autom?tica y F?sica Aplicada (ETSIDI-UPM)
Grupo de Sistemas Fotovoltaicos (IES-UPM)
URL: http://oscarperpinan.github.io

2015-02-26 22:43 GMT+01:00 Zilefac Elvis via R-sig-Geo <
r-sig-geo at r-project.org>: