search for: xticks

Displaying 16 results from an estimated 16 matches for "xticks".

Did you mean: ticks
2012 Jan 31
1
Currency symbols in Xtick or Ytick labels
How do you label Xtick and Ytick marks with Currency symbols: $2000 instead of 2000? I would like to add dollar symbols to tickmarks on boxplots, histograms and back-to-back histograms. My Examples (requiring the lattice and Hmisc packages): data(case0102, package="Sleuth2") str(case0102) boxplot(Salary~Sex, case0102) histogram(~ Salary | Sex, data=case0102) require(Hmisc) #
2002 Feb 06
3
Help plot
Hello, I would like plot a vector and want to specify the Xticks which will be displayed. Is it possible ? For example, suppose that x is a vector of length 3. I just want the Xticks (and the corresponding labels) for 1 2 and 3 to be displayed ( and not 1, 1.5, 2,2.5, ....) . Thanks -- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- Olivier...
2009 Mar 21
1
Forestplot () box size question
...lp. Gerard Slightly modified working function with data and a call follows: fplot=function (labeltext, mean, lower, upper, align = NULL, is.summary = FALSE, clip = c(-Inf, Inf), xlab = "", zero = 1, graphwidth = unit(3,"inches"), col = meta.colors(), xlog = FALSE, xticks = NULL, xlow=0, xhigh, digitsize, ...) { require("grid") || stop("`grid' package not found") require("rmeta") || stop("`rmeta' package not found") drawNormalCI <- function(LL, OR, UL, size) { size = 0.75 *...
2008 Feb 17
2
filled.contour with log axis
Dear all, I would like to generate a filled.contour plot with log x and y axis, however using: filled.contour(as.line,log="xy") results in a warning message. Does anybody knos what to do? Thanks Thomas
2009 Jul 30
5
Grid lines
Hi everyone. I am new to R. It will be greatly appreciated if someone can help me with the following questions. Here's the graph I have just produced. http://www.nabble.com/file/p24732839/calibration.jpeg (1) How can I put the legend on top of the grid lines? (2) How can I match the grid lines with the x-axis ticks? (3) How can I change the x-axis format from e.g. Mar, Apr...etc to
2009 Dec 28
2
refering to the 'boundaries' of a graph
Please see this code for a demonstration of my problem... xlim <- c(-1,5) plot(1:4, xlim=xlim) abline(v=xlim[1]) abline(v=xlim[2]) When I refer to xlim, it is not referring to the boundaries of the graphical region, it refers to the maximum and minimum xticks. My question is how can I refer to the x axis boundaries (and similarly y axis) of the graph? -- View this message in context: http://n4.nabble.com/refering-to-the-boundaries-of-a-graph-tp989790p989790.html Sent from the R help mailing list archive at Nabble.com.
2011 Sep 03
2
Change properties of line summary in interaction.plot
Is it possible to change the color/thickness of the summary line in an interaction.plot without changing the other individual data lines? I would like to make the line from the summary function (mean) the color red and thicker than the surrounding black lines. How can I do that? Here is a link to interaction.plot: http://stat.ethz.ch/R-manual/R-patched/library/stats/html/interaction.plot.html
2006 Dec 27
5
plotting time series with zoo pckg
Hi all, I am using the zoo package to plot time series. I have a problem with formatting the axes. my zoo object (z) looks like the following. c1 1992-01-10 21 1992-01-17 34 1992-01-24 33 1992-01-31 41 1992-02-07 39 1992-02-14 38 1992-02-21 37 1992-02-28 28 1992-03-06 33 1992-03-13 40
2007 Jul 10
6
Having trouble using data returned by Ajax.request
...the graph: function updateChart(chartName) { var newOptions = { padding: {left: 30, right: 0, top: 10, bottom: 30}, backgroundColor: ''#f2f2f2'', shouldFill: false, colorScheme: ''blue'', yNumberOfTicks: 2, xTicks: [ {v:5, label:''jan''}, ] }; document.getElementById(''weekdiv'').innerHTML = ''<div><canvas id="newchart" height="250" width="700"></canvas></div>''; var we...
2002 Aug 20
4
plot and bg
Hi all, I would like to plot some points and define the bg color of my graphics. But the bg parameter set is defined for the. whole graphic. In fact, i would like to use something like : box(bg=gray(0.9)). So, the background concerns only the plot region and not the main title, the x title and the y title. The option col for the function box() concerns the contour and there is no option
2008 Feb 15
3
lineplot.CI problem
Hi List, I have a problem plotting data using the lineplot.CI command in the sciplot package. I want to plot the data of 2 experimental cases using different lines (traces). Time is on the X-axis. The tricky thing is that the data collection in the second case started later than for the first case. This is to say: the first n data points for the second case are missing. So far so good. However,
2006 Nov 27
1
x axis on sciplot
Is it possible to format the x axis, so that days are spaced proportionately? i.e. a larger space between 50 & 100, than 0 and 5? Have not had any luck with axis.POSIXct(). Many thanks Murray try <- structure(list(visit = structure(as.integer(c(1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5)), .Label = c("Screening", "0",
2007 Aug 18
0
rmeta package forestplot() function
...options like 'cex' or 'font' but none of them seem to work. Is there anything I could do? This is what I have so far: forestplot(tabletext,m,l,u,zero=0, is.summary=c(TRUE,TRUE,rep(FALSE,14),TRUE), clip=c(log(0.5), log(15)), xlog=TRUE, graphwidth = unit(4, "inches"), xticks=c(0.5, 1, 2, 4, 8,15), col=meta.colors(box="royalblue",line="darkblue", summary="royalblue")) Thanks. Christie [[alternative HTML version deleted]]
2008 Dec 09
0
forestplot and x axis scale
...ere is one version of code I've used: mytk10<-c(0.1, 0.5, 1, 2, 5, 10) pdf(file = "myfile.pdf", pointsize = 7, paper="letter", width=6, height=9) forestplot(newcite,or,lcl,ucl,zero=0, graphwidth = unit(1.2,"inches"), clip=c(log(0.1),log(10)), xlog=TRUE, xticks=mytk10, xlab="Odds Ratio", col=meta.colors(box="darkblue",line="darkblue",zero="grey50")) title(main = list("My title", col="darkblue", font=2)) dev.off() --> I have changed the width of the pdf output and/or the graphwidth specifie...
2003 Mar 17
1
postscript and ps.option metrics
...<- c("1","10","100","1,000","10,000","100,000", "1,000,000") mnyticks <- c(5,50,500,5000,50000,500000) mnylabs <- c("5","50","500","5,000","50,000","500,000") xticks <- c(1:100) #mxticks <- c(0,10,20,30,40,50,60,70,80,90,100) periods <- c(1900,1905,1910,1915,1920,1925,1930,1935,1940,1945,1950,1955,1960,1965,1970,1975,1980,1985,1990,1995,2000) mxticks <- c(1900,1910,1920,1930,1940,1950,1960,1970,1980,1990,2000) mnxticks <- c(1905,1915,1925,1935,19...
2006 Dec 15
6
Query regarding linking R with Matlab
Thank you sir for your prompt reply. Currently i am stuck at point where I need to call an available Matlab program from an R 2.4.0 interface. How can I do this? I have downloaded the R.matlab file and also the manual in pdf. But still i am not able to get through the problem. I will be grateful to you if you can elaborate me on this. Awaiting your reply, regards, Bhanu Kalyan K