Displaying 20 results from an estimated 11000 matches similar to: "axis 1 and axis 2 margin"
2010 Nov 22
2
xlim=c(min(x), max(x)) still produces extra margin on both sides of x axis in plot()
code:
op <-
par(bg='black',fg='gray',col='gray',col.axis='gray',col.lab='gray',col.main='gray',col.sub='gray',mai=c(0,0,0,0),
tck = 0.01, mgp = c(0, -1.4, 0), mar=c(0,0,0,0))
plot(x,y,ylim=c(-20,20),xlim=c(min(x),max(x)),pch='X',col = rgb(1,1,1,
0.5),yaxt="n", ann=FALSE)
abline(v=c(min(x),max(x)), lty=3,
2007 May 24
1
GUI component Margin on tkcanvas, tkframe or tktoplevel
Dear gurus:
I have a question on how to configure the margin layout on tcl/tk GUI
objects like tkcanvas, tkframe or tktoplevel.
For example, if I want to leave a larger margin on the left side of the
GUI container, which one should I configure, the toplevel or tkcanvas or
tkframe?
top<-tktoplevel()
canvas<-tkcanvas(top, relief=, borderwidth=...)
I also find the documentation for all
2011 Mar 26
1
bwplot [lattice]: how to get different y-axis scales for each row?
Dear expeRts,
How can I get ...
(1) different y-axis scales for each row
(2) while having the same y-axis scales for different columns?
I coulnd't manage to do this with relation="free" [which gives (1) but not (2)].
I also tried relation="sliced", but it did not give the same y-axis scales
within each row (see the fourth row). Further, it "separates" the
2009 Jun 17
3
lattice: axis ticks, axis alignment and remove axis from plot
Hi there,
I'm a bit confused concerning the axis tck setting in the lattice
package as the ticks on left sided axis aren't
drawn at all with the following setting:
dados <- data.frame(varsep = factor(rep(1:2,10)),
i = runif(20))
library(lattice)
my.theme <- list(
axis.components = list(left = list(tck = 1, pad1 = 1, pad2 =
2), top = list(tck = 0, pad1
2011 Feb 16
2
Axis positions
Hi everyone.
I would like to modify the axis on my plot.
First, I would like to make a plot without the box. so I use :
plot(x,y, axes = FALSE, type = 'l')
Then, I call :
axis(1, tck = -0.02)
axis(2, tck = -0.02)
to have X and Y axis appear. However, I would like them to join at the
origin instead of having a space between the 2 axis. I can't find the
parameter to modify to get
2006 Mar 16
1
X broken after up2date
Hello,
I've installed Centos 4.2 X86_64 on a PE2800 box with a Radeon 700 card and
a generic Dell monitor.
After running up2date before putting this box in production and make a
reboot I can't get into X anymore, my monitor shows a message "out of sync"
and that's it.
So I tried logging in via ssh to run 'setup' and to use the X setup program,
but it doesn't
2009 May 08
1
centering axis labels in lattice
Hello,
I'm attempting to alter the location of text in my axis labels in
lattice plots and have been unsuccessful so far. For example, the
y-axis labels are always right-justified, but I would like them to be
horizontally centered.
Here's an example:
library(lattice);
# create fake dataset to plot
to.plot <- data.frame(
x = 1:5,
y = c("1\nAAA", "2\nBBB",
2011 Jul 07
1
Discussion on time series analysis and the use and misuse of Differencing
How does the R module ARIMA account for unspecified deterministic structure
such as seasonal pulses, level shifts, local time trends and regular pulses
without needing to ask the user to intervene to specify this?
I have attached a Makradakis paper which hammers Box-Jenkins approach to
this problem of nonstationarity. I have also included a recent discussion
from stackexchange which you might
2010 Aug 24
1
tick marks on both sides of axis
hello,
all my attempts to get a plot with tick marks on both sides of axis failed -
can someone please help me with this?
thanks,
kay
-----
------------------------
Kay Cichini
Postgraduate student
Institute of Botany
Univ. of Innsbruck
------------------------
--
View this message in context: http://r.789695.n4.nabble.com/tick-marks-on-both-sides-of-axis-tp2336668p2336668.html
Sent from the
2003 Nov 28
1
mark axis
Maybe a stupid question:
In a plot, which parameter(s) ables to visualize the axis like in a
coplot
where the axis is also visible in the plot background ?
Thanks
Nolwenn
********************************************
Nolwenn Le Meur
INSERM U533
Facult? de m?decine
1, rue Gaston Veil
44035 Nantes Cedex 1
France
Tel: (+33)-2-40-41-29-86 (office)
(+33)-2-40-41-28-44 (secretary)
2012 Jul 13
2
minor axis ticks in trellis graphics?
Dear R users,
I need to add minor axis ticks to my graph. In traditional R this is easily achievable by simply
adding a second axis with the minor ticks. But how to do that in trellis? I am already out of ideas.
Any suggestions will be appreciated.
Best regards,
Martin
-----------------------------------------------------------------
?????????? ??????????? ? ?????? ?? ??????????
2019 Aug 05
4
No dynamic dns updates if client ip changed
Hi,
?
I've a problem with the dynamic dns updates. It seems they won't work.
?
Most of my clients have a dynmaic IP so sometimes they change. If I do a ping to the name, it tries do ping the old ip insead of the changed new one.
?
I tried a "samba_dnsupdate --verbose" and got a looking/checking output and at least a "No DNS updates needed". But the client still has the
2010 May 19
1
postfix+lda+ virtual users, confusion
I thought it would be nice to have vboxes insead of user logins ...
Now I am confuesed and in trouble ..
My server serves 2 domains
so
user1 at domain1.com
is the same as
user1 at domain2.org
I've created the mail_location string with %n
and static userdb with %n
dovecot creates 2 mail user directories
user1 at domain1.com
user1 at domain2.org
What the heck am I missing .. ??
Your
2010 Feb 05
2
lattice barchart using a time scale in x axis
I'm trying to produce a barchart plot with groups, in which each group is placed in a particular
time scale in x-axis. If I use barchart directly it does not take the time scale. I've tried with
xyplot and adding a panel.barchart, I have the bars in the right place, but not the three groups I'm
trying to produce. I've tried defining panel and panel.group, but can't get it to
2011 Jul 21
6
Lattice: place ticks only on y-axis
I am using lattice for a bar plot, having a little trouble removing ticks,
tick labels from x-axis, but keeping them on the y-axis. I looked around
quite a bit (http://tolstoy.newcastle.edu.au/R/e7/help/09/06/1733.html, help
pages, etc), tried variations of "scales = list(alternating = c(0,0)",
"scales = list(alternating = c(0,0), tck = c(0,0))" and others, couldn't
quite
2008 Mar 11
2
Adding x-axis values to a histogram
Dear useRs,
Is there a way one can add x-axis values to a histogram? Example:
z = rgamma(n=1000, shape = 8, scale = 1000)
hist(z, breaks = 30)
Currently I see 4 x-axis values: 5000, 10000, 15000, 20000. Can I add more
values or modify the ones currently showing? I tried ?hist, yet couldn't
work this out.
Thank you very much.
-----
~~~~~~~~~~~~~~~~~~~~~~~~~~
Diego Mazzeo
Actuarial Science
2004 Oct 26
1
Secondary y axis
Hi
I had a look at the help and previous discussions but I am
still unable to solve these issues:
1
I have a set of air pressure data. I would like to
plot a and b (both about 980-1000 millibar) and c, the difference
(around 0-8 millibar). I use axis (4) to create a new axis (to the right)
but I do not know how to assign c to the new axis which currently
features the same values as the first
2011 Jan 26
2
Colour area under density curve
Hello,
I have this code to plot a certain normal distribution and represent the pnorm
value for a certain "x":
x<-300
xx <- seq(2.5,7.5, by=0.1)
yy <- dnorm(xx,5.01,0.77)
d<-signif(pnorm(log(x), 5.01,0.77),4)
xpts <- round(exp(0:8))
par(bg = "antiquewhite")
plot(xx,yy, type="l", col="blue", lwd=2, xaxt="n",
2008 Jul 02
1
FW: RES: bug in axis.Date? was (Re: newbie needs help plottingtimeseries)
Instead of
x<-seq(as.Date("2004-01-01"), as.Date("2008-06-01"),by="month")
from=iso2chron("2004-01-01")
to= iso2chron("2008-06-01")
from <-chron2UTCsecs(from)
to<-chron2UTCsecs(to)
delta##how many secs i.e month time in secs
xx <- seq(from=from, to=to, by=delta)
x <- UTCsecs2chron(xx)
I think it will works
1999 Sep 13
5
axis() produces junk on DEC alpha (PR#274)
Full_Name: Albrecht Gebhardt
Version: 0.65.0
OS: Digital Unix 4.0E
Submission from: (NULL) (212.17.104.62)
Plottimg on the Alpha stopped working with 0.65.0.
The tickmarks have a length of -Inf and go across the whole
plot.
A first solution is the following patch:
--- src/main/plot.c.alpha-patch Mon Sep 13 01:37:11 1999
+++ src/main/plot.c Mon Sep 13 01:58:16 1999
@@ -832,7 +832,7 @@