Displaying 20 results from an estimated 20000 matches similar to: "2 plots with different scales in the same graphical window"
2008 Dec 06
1
plotting several datasets with different scales into same plot
Dear Miss R,
I wish to plot three datasets on completely different scales into one
single plot. Until now I use a complicated procedure, converting the data of
the second and third set into coordinates of the first plot and then adding
an extra axis. Is there a way to do this more simply...?
Thanking you and wishing you all an excellent Sunday!
Cheers, Georg.
*************************
Georg
2009 Apr 10
2
Two different scales for the same axis in the same plot.
Hello,
Could anyone tell me how to plot data on two different scales in the same axis in the same plot?
Here is my quandary:
The range of my X axis runs from 0 to 10, but the majority of my meaningful data
lies between 7 and 10. The data from 0 to 7 is essentially noise.
Is there a way for me to present my data such that the range from 0 to 7 takes
up a smaller amount of space on the graph
2010 Sep 30
1
barplots with 2 different scales
Is there a way to create barplots with pairs of bars plotted on 2 different
scales (i.e some bars would be plotted according to the scale on the y-axis
on the left and other bars plotted according to a different scale on the
right axis)?
Thank you,
Jeremy
[[alternative HTML version deleted]]
2012 Apr 26
2
How to plot graph with different scale (y axis) on same graph?
Hi,
I have my data in below format.
position var1 var2
2 .1 10
3 .29 89
12 .56 100
425 .34 1234
6546 .12 21
.... ..... .....
.... ..... ......
2008 Mar 25
5
Thinking about using two y-scales on your plot?
Please read this first:
http://www.perceptualedge.com/articles/visual_business_intelligence/dual-scaled_axes.pdf
It's a reasoned discussion of why it's a bad idea and proposes some
alternative methods.
Another good article is:
K. W. Haemer. Double scales are dangerous. The American Statistician,
2(3):24?24, 1948.
People have been advising dual-axis plots for (at least) 60 years!
Hadley
2013 Mar 05
1
different colors for two wireframe spheres
Dear List,
I have the code below adapted from the lattice-package examples to draw two spheres. I would now like to give
both different surface colors, e.g. one red and one blue.
## 3-D surface parametrized on a 2-D grid
n <- 10
tx <- matrix(seq(-pi, pi, length.out = 2*n), 2*n, n)
ty <- matrix(seq(-pi, pi, length.out = n) / 2, 2*n, n, byrow = T)
xx <-
2010 Dec 09
2
RES: Barplot with "Independent" Lines Y axis
Oh sorry. An example say lots more than words. The data below, when
submitted to twoord.plot return the mentioned error. Rain are bars and Salt
lines, the bars appear and the error occurs with the salt data.
Point Rain Salt
Fev/03 365.6 13
Mar/03 235 18
Abr/03 115.1 18
Mai/03 47.4 18.75
Jun/03 112 15
Jul/03 156.8 17
Ago/03 66.1 15
Set/03 149.8 14
Out/03 167,1 11.5
Nov/03 269.3 17.5
Dez/03 283.7
2016 Feb 05
2
gc relocations on exception path w/RS4GC currently broken
Sorry to reply to myself here, but I had an idea regarding "issue #2" -- possibly what makes the most sense for those clients/targets is to pull the pointer difference computation/reapplication into RS4GC itself -- it could have a pass just before or after rematerialization, which runs based on a configuration flag (eventually to be driven by GCStrategy), which performs rewrites like
2016 Feb 06
2
gc relocations on exception path w/RS4GC currently broken
Thanks, I think that's a useful way to look at it (though if I wanted to bikeshed I'd suggest the name "DoubleIndirect" as a bit more precise than "VeryIndirect").
An aspect of it that I'm still puzzling over is that my target runtime (at least in its current form) doesn't have a way to represent/process a "VeryIndirect" pointer. So I'd like to
2000 Oct 06
4
R: plotting values on graphics
Everyone,
I have an array of integer values which are located on a uniform 2-D grid. I want to plot the integer values at the node locations. The closest I have come is with the following code:
for (i in 1:ny) {
for (j in 1:nx) {
ncell <- nx*(i - 1) + j
ch <- as.character(ncount[ncell])
tx <- j*dx - dx/2
ty <- ny*dy - (i-1)*dy - dy/2
points(tx, ty, pch = ch, col =
2010 Sep 06
8
Over lay 2 scale in same plot
Hi Everyone,
I have two different data set in 2 different scale.
I want to plot these two data in the same plot
in their respective scale. So the plot will have 2 different scale.
I have added an image below to show how it should look.
does any bode has any idea how this can be done.
2 different y scale in same plot..??
http://r.789695.n4.nabble.com/file/n2528661/2scale_ovelay.jpg
Thanks in
2009 Sep 02
1
[LLVMdev] LangRef description of 'add nsw' doesn't match reality
The langref says for the 'add' instruction:
Syntax:
<result> = add <ty> <op1>, <op2> ; yields {ty}:result
<result> = nuw add <ty> <op1>, <op2> ; yields {ty}:result
<result> = nsw add <ty> <op1>, <op2> ; yields {ty}:result
<result> = nuw nsw add <ty> <op1>, <op2> ;
2009 Jan 09
0
[LLVMdev] RFC: Store alignment should be LValue alignment, not source alignment
Hi Evan,
> LValue LV = EmitLV(lhs);
> bool isVolatile = TREE_THIS_VOLATILE(lhs);
> unsigned Alignment = expr_align(exp) / 8
>
> It's using the alignment of the expression, rather than the memory
> object of LValue.
can't you just use expr_align(lhs) instead?
> The patch saves the alignment of the memory object in LValue returned
> by EmitLV().
2017 Aug 11
2
Converting i32** to [4 x i32]* ?
Hello all,
This is a general question regarding type conversion:
from: <ty>**
to: [<size> x <ty>]*
>From what I understand, bitcast is wrong in this case because a GEP into a
<ty>** should be computed differently from a GEP into [<size> x <ty>]*.
So, what is the correct way to perform this type conversion?
Thanks,
Siddharth
--
Sending this from my
2017 Nov 29
3
RFC: Adding 'no-overflow' keyword to 'sdiv'\'udiv' instructions
Introduction:
We would like to add new keyword to 'sdiv'\'udiv' instructions i.e. 'no-overflow'.
This is the updated solution devised in the discussion: http://lists.llvm.org/pipermail/llvm-dev/2017-October/118257.html
The proposed keywords:
"nof" stands for 'no-overflow'
Syntax:
<result> = sdiv nof <ty> <op1>,
2008 Sep 30
0
[LLVMdev] Generalizing shuffle vector
Hi Mon Ping,
Generalizing shufflevector would be great. I have an additional
suggestion below.
On 29-Sep-08, at 11:11 PM, Mon Ping Wang wrote:
> I am proposing to extend the shuffle vector definition to be
> <result> = shufflevector <n x <ty>> <v1>, <n x <ty>> <v2>, <m x i32>
> <mask> ; yields <m x <ty>>
>
> The
2010 Jun 02
1
lattice, xyplot, using "panel.segments" by just addressing one panel
Hi R experts,
I'm using the xyplot function in lattice to draw a multipanel plot consiting
of 5x6 scatterplots.
Now I need to link single points in each of those scatterplots (=panel),but
the points, that need linking are different for each panel.
I tried to use the panel.segments function for that, but I can't address
each panel separately. Links right for panel 1, show up in all other
2009 Apr 28
3
creating a vector of sums
Hi,
I am trying to create a function for a goodness-of-fit test for the Pareto Distribution for some loss data that I have.
So far I have the following:
function(X=OTOL)
{
n <- length(X)-1 #calculated the number of values (extra as 0 included)
i <- 2:640 #values of i
j <- 1:639 #values of i-1
Y <- (n-j+1)*((X[i])-(X[j])) #First part of GoF model
Y
}
Where OTOL is the ordered loss
2007 Jan 05
0
[LLVMdev] ICmp documentation clarification
Hi Baptiste,
On Fri, 2007-01-05 at 09:44 +0100, Baptiste Lepilleur wrote:
> I just want to make sure I understand the semantic of the icmp function
> correctly as assumption are dangerous in this domain.
>
> The syntax is specified as follow:
> <result> = icmp <cond> <ty> <var1>, <var2> ; yields {bool}:result
>
> But I can not find the
2007 Jan 05
2
[LLVMdev] ICmp documentation clarification
I just want to make sure I understand the semantic of the icmp function
correctly as assumption are dangerous in this domain.
The syntax is specified as follow:
<result> = icmp <cond> <ty> <var1>, <var2> ; yields {bool}:result
But I can not find the documentation for <ty>. Is the following
interpretation correct:
Both <var1> and <var2> are