similar to: Changing Tick Marks for Date Plots

Displaying 20 results from an estimated 10000 matches similar to: "Changing Tick Marks for Date Plots"

2009 Oct 15
2
How to right-align labels in dotchart
I have only just discovered the joys of the dotchart (since I am reading William Cleveland's -- Sean Carmody The Stubborn Mule http://www.stubbornmule.net http://twitter.com/seancarmody [[alternative HTML version deleted]]
2010 May 16
3
Vector recycling and zoo
I am a bit confused about the different approaches taken to recycling in plain data frames and zoo objects. When carrying out simple arithmetic, dataframe seem to recycle single arguments, zoo objects do not. Here is an example > x <- data.frame(a=1:5*2, b=1:5*3) > x a b 1 2 3 2 4 6 3 6 9 4 8 12 5 10 15 > x$a/x$a[1] [1] 1 2 3 4 5 > x <- zoo(x) > x$a/x$a[1] 1 1 >
2018 Apr 25
0
Can't Get Lattice Histogram Minor Tick Marks to Work
Per the Posting Guide, why didn't you post the reproducible R code example? On April 24, 2018 8:22:15 PM PDT, Donald Macnaughton <donmac at matstat.com> wrote: >I'm drawing a paneled histogram using the lattice package. I've >succeeded in >adding minor tick marks to the vertical axis, but I can't get the >desired >number of minor tick marks between the major
2018 Apr 25
3
Can't Get Lattice Histogram Minor Tick Marks to Work
I'm drawing a paneled histogram using the lattice package. I've succeeded in adding minor tick marks to the vertical axis, but I can't get the desired number of minor tick marks between the major tick marks. I've attached a self-contained program to illustrate the problem. Thanks for your help, Don Macnaughton Here's my sessionInfo: R version 3.4.3 (2017-11-30) Platform:
2018 Apr 25
1
Can't Get Lattice Histogram Minor Tick Marks to Work
Thanks Jeff, I attached a file with the program to my earlier email because the posting guide seemed to imply that non-binary attachments would work. But I see that the file was stripped off. I installed the program file on a web site, but when I downloaded it, the line breaks were stripped out. So I've included the program below: ------------------------------------------------------- #
2009 Jul 27
2
Draw plot.table axis on right hand side
With an ordinary plot, to customise the axis it is possible to suppress drawing the axis and then call Axis. I have been trying to change the location of the y-axis on a plot.table plot to the right hand side, but cannot even work out how to suppress drawing the labels. Here is a toy example of the sort of plot I am working with. Any suggestions as to how to have the axis on the right hand side
1998 Jun 25
1
R-beta: PostScript tick marks in 62.1
R-users/developers, I am loosing tick marks that I add to a plot with axis() when plotting to the postscript device. They show up fine on the x11 device, and work with the postscript device when the default tickmarks are used (those added by plot()). I am using R-62.1 from the RedHat5.0 rpm's on i86 Linux. Do later snapshots correct this, or is this a running bug in R awaiting the
1998 Jun 25
1
R-beta: PostScript tick marks in 62.1
R-users/developers, I am loosing tick marks that I add to a plot with axis() when plotting to the postscript device. They show up fine on the x11 device, and work with the postscript device when the default tickmarks are used (those added by plot()). I am using R-62.1 from the RedHat5.0 rpm's on i86 Linux. Do later snapshots correct this, or is this a running bug in R awaiting the
2008 Nov 04
4
fine grain tick marks for zoo plots
Dear R Users, I am trying to get plot.zoo to place monthy tickmarks/labels for a time series which spans daily data going back a bit over a year. Right now, I am getting only one tick mark on the x-axis for the beginning of 2008. How can I force plot.zoo to place more regular x-axis tick marks on a monthly basis ? Thanks in advance, Tolga Generally, this communication is for informational
2006 Oct 31
1
[ggplot] controlling axis and major/minor tick marks
Hello there! I'm starting with ggplot and was wondering how I could control the axis of a plot. I would like the axis of the plot to be drawn black which I thought to acheive with the option axis.colour="black". However, this had no real effect on the plot. Then I found grid.colour which I changed to black as well. Now I got my axis as I wanted them, but ggplot now draws the grid
2009 Jul 03
1
Plot Fonts in Windows vs Mac OSX
I have been plotting the same charts using png on a Windows machine and on a Mac OSX and the quality of the resulting images, particularly in relation to the fonts, look far superior in the plots produced on the Mac. Is there any way I can enhance the quality of the plots produced on the Windows machine? I have also tried using win.metafile on the Windows machine and the quality looks the same as
2007 Nov 12
1
Tick mark puzzle.
I am bewildered by the behaviour of tickmarks as demonstrated by the following code. (What I'm trying to do is draw a single tick mark extending from the axis all the way down to the tick label, which is two lines from the axis to make sure it doesn't overlap with the ``ordinary'' tick labels.) # Try 1: # Gap between tickmark and label. plot(1:10) axis(side = 1, at = 2.35,
2003 Aug 06
2
Plot ticks and tick labels: thickness, colour?
I am displaying several series in one plot, and would like to make them distinct without having to employ a legend. I managed to color tickmarks, but have been unsuccessful with either one of a) making tickmarks thicker (without increasing the axis at the same time). From reading ?axis: lty, lwd: line type, width for the axis line and the tick marks. in would appear that I cannot
2006 Apr 17
1
Tick mark alignment for POSIXct data
I am using POSIXct objects to store my date/time information. If I am plotting less that 2 days worth of data, I get the correct tick marks on the x-axis which is showing the 'day HH:MM' and these line up with the data points. If the data spans more than 2 days, the tick marks are now off. In the data below, I am creating some sample data and plotting the points. I am in the Eastern
2003 Nov 03
2
POSIXct under R-1.8.0 with Methods package
I am having problems porting a package to R-1.8.0 where I have complex S4 classes with slots inheriting from POSIXct. For example: > setClass("test1", representation(date="POSIXct")) [1] "test1" > new("test1", date=as.POSIXct("2003-10-09")) Error in ext@test(object) : couldn't find function "%in %" Under R-1.7.1 this worked
2010 Apr 26
2
plot dates
hi everybody, How can you plot some dates? I mean how can i have the tickmarks with the label of each date on my x axis? The dates i use are in POSIXct format, i don't know if it matters. thanks a lot Karine _________________________________________________________________ Consultez vos emails Orange, Gmail, Yahoo!, Free ... directement depuis HOTMAIL !
2007 Oct 25
1
Strange behavior with time-series x-axis
I recently called plot(x,y) where x was an array of POSIXct timestamps, and was pleasantly surprised that it produced a nice plot right out of the box: z <- as.POSIXct(c("2006-10-26 08:00:00 EDT","2007-10-25 12:00:00 EDT")) x <- seq(z[1],z[2],len=100) y <- 1:100 plot(x,y,type="l") The X axis had nice labels, one tick mark every other month. (Plotting on
2008 Feb 16
3
how to specify the location of tick mark on x axies
Dear: I want to plot barplot and let bar be in the middle of each x axis category. Do you have this experience? Many Thanks! Xin [[alternative HTML version deleted]]
2007 Feb 18
0
Lattice graphics: minor tick marks and panel.axis() question(s)
Hello, I have been a long-time Traditional graphics user and now moving to try Lattice graphics. At the moment I cannot figure out how to place minor tick marks in a figure made with Lattice's xyplot(). In Traditional graphics, after calling plot() I would make two calls to axis(). >From the manuals and help documentation I learned that 'scales' takes multiple 'at'
2009 Sep 16
1
Can someone please explain why the last tick mark on this chart is not showing?
Hi all, I'm trying to log chart but with natural looking tick marks. My specifications are very specific -- it must indicate the lowest number's tick as well as the maximum. I've attached sample code and data for a particular case (and there are a few more like this) where the bottom tickmarks on the chart are not set to where I want them to be and yet they fit in the ylim range.