search for: tickmarks

Displaying 20 results from an estimated 114 matches for "tickmarks".

2012 Jun 22
6
axis in r plot
I have a graph plotted in r.The x axis tickmarks are at 0,5,10. I need a graph with resolution of tickmarks at 0.1 interval.When i place tickmarks of 0.1 intervals using the following command axis(1, at=seq(0,5,0.1), cex.axis=0.7, las=2) I only get the tickmarks of 0.1 interval that are very closed placed in the graph.I need to increase the sp...
2006 Mar 04
1
xyplot/levelplot: thickness of tickmarks
Hi, if I use the xyplot (or levelplot) function (lattice library) with the option axs="i", I have the problem that the tickmarks lie a bit outside the "plot-box". Consider for example: library(lattice) x<-seq(0,1,by=0.01) y<-seq(0,1,by=0.01) xyplot(y~x,type="l",xlim=c(0,1),ylim=c(0,1),scales=list (relation="free",axs="i",x=list(at=c(0.0,1.0)),y=list(at=c(0.0,1.0)))) As you c...
2010 Nov 29
1
surpressing tickmarks / labels x-as for two sets of boxplot (plotted as stacked boxplots)
...want to plot as boxplots stacked to each other. Therefore I plot first the results of the first experiment; and next with the add option the second set of boxplots. The boxplots are plotted at 'at = 1:7 - 0.15 for the first experiment and at=1:7 + 0.15 for the second. I surpress plotting the tickmarks and labels succesfully for the first boxplot with xaxt="n". But for the second this does not work! I want to plot the tickmarks and labels? at position at=1:7, as below using the axis function. But with this code also tickmarks and labels are plotted at position at=1:7+0.15. boxplot(...
2005 Nov 02
2
Orientation of tickmarks labels in boxplot/plot
Hi, I have been trying draw tickmark labels along the y - axis perpendicular to the y axis while labels along the x - axis parallel to x axis while making box plot. Here is my test dataset. TData ID Ratio 1 0 7.075 2 0 7.414 3 0 7.403 4 0 7.168 5 0 6.820 6 0 7.294 7 0 7.238 8 0 7.938 9 1 7.708 10 1 8.691 11 1 8.714 12 1 8.066 13 1 8.949 14 1 8.590 15 1 8.714 16 1
2002 Apr 12
1
persp(): z-axis annotation overwrites numbers at tickmark
...rs first, thanks to Paul Murrell for fixing my problem "What line is labeled in persp()". It works great now (in the development version). One more question (I don't know if it's related to the "old" problem): the annotation on the z-axis overwrites the numbers at the tickmarks and sometimes, if numbers are pretty long, the numbers themselfe overlap the actual tickmark. I tried moving the annotation by adj or lower the fontsize and tried out kind of all other parameters given in par() but didn't succeed. Is this actually the same kind of problem (like the old one) a...
2010 Jan 11
1
Limiting number of tickmarks in lattice bwplot
Have a simple bwplot with 24 ordered factors across the x axis. I would like to only label every 4th tick mark so that the labels fit. I tried scales=list(x=list(tick.number=6)), but I still seem to get 24 tickmarks and 24 labels. Full code is below: bwplot(SumOfIn.Use ~ Hour | Period, scales=list(x=list(tick.number=6)),horizontal=FALSE,las=2,main="Rooms Running",sub="Timeframe: 8/09 - 12/09",xlab="Hour of Day",ylab="Rooms Running",ex.main=0.7,cex.axis=0.5,data=dbs.wee...
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 ti...
2004 Aug 03
0
strange tickmarks placing in image
Hello, I've a problem aligning tickmarks to an image. I've created a correlation matrix for 84 datasets. I'm visualizing the matrix as an image with colour coding according to the correlation coefficient. The 84 datasets are distributed over three factors, but the desgin is unbalanced, so that the tickmarks and the lables for the...
2018 Apr 25
1
Can't Get Lattice Histogram Minor Tick Marks to Work
...re stripped out. So I've included the program below: ------------------------------------------------------- # This R program illustrates a problem with the histogram function in # the lattice package. # This program requires the latticeExtra package to be installed to # generate the minor tickmarks. library(lattice) library(latticeExtra) # First, please run the program to see the problem. # Note how the histogram shows minor tickmarks on the vertical axis. # I would like to show only a SINGLE minor tickmark between major tickmarks on # the vertical axis, which helps to show the viewer t...
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
2002 Apr 02
2
label tickmarks in persp()-plot
Dear R-users, is there a way to label the tickmarks other than persp does it? I didn't find anything on that in the archive. To plot the surface with equi-distant tickmarks, I assigned x<-c(1:6) y<-x persp(x,y,z,....) Instead of labels 1 to 6, I need something like 0.05, 0.1,10,15,100,1000. Any hint and help appreciated, Nina -.-.-.-.-...
2002 Nov 15
1
lattice: formatting tickmark labels of log scaled axes
Problem: How can I format tickmark labels of log scaled axes of lattice graphics in the usual `xxx'-Format (and not in the scientific format). Example: (according to the help-page of xyplot): In the first plot I get the xxx-Format, in the second plot I get the scientific format (10^xxx): data(sunspot) plot( 1:37, sunspot, log='y',type='l') xyplot( sunspot ~ 1:37,
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:
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 obtain the one _without_ the other; or b)...
2002 Mar 10
1
xaxp and yaxp
Hello, I'm new to R, and I'm trying to set the number of tickmarks for a plot using xaxp, but R seems to ignore this setting completely. Maybe you've an idea what I'm doing wrong. I'm using R 1.4.1, and here's hat I'm doing: > d[,'seq'] [1] 28913 16323 13922 6237 4257 3881 4100 3781 2694 2064 1769 1550 [13] 1539 480 &g...
2009 Sep 14
1
How do I ensure that the minimum value is always displayed on a y-axis in a plot?
...912570 0.80111286 0.47223969 0.64554445 0.64264599 0.60489611 [301] 0.56542526 0.49117982 0.45614010 0.46773733 0.40172436 0.40196829 [307] 0.43754909 0.36359256 ylimits<-range(c(blah,1.3)) plot(blah,type="l",yaxt="n",ann=FALSE,ylim=ylimits) b<-ylimits[1] e<-ylimits[2] tickMarks<-round(tickMarks<-seq(b,e,by=(e-b)/6),2) axis(2,las=2,at=tickMarks,labels=sprintf("%.2f",tickMarks));
2009 Apr 28
4
Producing customized tickmarks when producing a graph using "curve"
Hello! I am using function "curve" to create a line graph. I was wondering, if it's possible to "turn off" the default tick marks and introduce those tick marks in specific locations. For example, currently in my X axis tick marks are (automatically) at 10, 11, 12, 13 but I want them to be in 5 specific locations, like 9.89, 10.34, etc. Any hint would be greatly
2001 Nov 08
0
-Altering labels and tickmarks on persp() plots
All, This was posted earlier but may have got lost in another thread. Can someone tell me how to independently alter the fontsize and position of labels on a persp plot?? I've tried using titles() and axes() but they seem to only apply to the standard plot() and contour plots (contour() and filled.contour(). Commands like text() seem only to add to the margin of the plot rather than
2005 Sep 16
1
tickmarks on the inside on y axis and on the outside on the x axis
Hi I got both axis doing one or the other, but cannot make one do ticks on the inside while the other does it on the outside. Chris Chris Buddenhagen, Botany Department, Charles Darwin Research Station, Santa Cruz,Galapagos. Mail: Charles Darwin Foundation, Casilla 17-01-3891 Avenida 6 de Diciembre N36-109 y Pasaje California Quito, ECUADOR
2005 Oct 01
1
X-Axis Label Overwritten By TickMark Values
Can someone tell me how to fix the left margin of plot region such that the tick values don't overwrite the x-axis label? I haven't been able to set the correct par option to fix this... TIA ------------ grdev <- function(...) { get(getOption("device"))(...) } plotFixMe <- function(spectrum, ...) { saved.par <- par(las = 1, tcl = 0.3)