similar to: Fancy Ticks in Plots

Displaying 20 results from an estimated 1000 matches similar to: "Fancy Ticks in Plots"

2009 May 05
2
Lattice: use levelplot as panel for wireframe
Hi, I want to draw a figure similar to http://dsarkar.fhcrc.org/lattice/book/images/Figure_13_07_stdBW.png from http://lmdvr.r-forge.r-project.org/figures/figures.html (figure 13.7) . However instead of using a contour plot as a panel for the wireframe I want to use a levelplot. Can somebody help me with this? Thanks in advance for any help, Kind regards, Anton Bossenbroek
2009 Aug 18
1
three dimensions barchart
Dear R community, I have one problem with figures. I draw the Relative Distribution graph, it looks like barchart(X,Y plot), but I have ten(year) Relative Distribution grapgs, have any command am can combine ten barcharts(X,Y plot) to become a three dimensions barchart(X,Y,Z plot)? All help highly appreciated Best, Yichih One Relative Distribution graph:
2012 Feb 19
1
World Heat/Rainbow Map
Dear All, I would like to do the following: make a plot of the world and color a few selected states. Some states have an associated scalar (i.e a simple number) and I would like to paint them using a heat map and show legend for the color map in the plot. One or two states do not have any number associated to them and are simply colored/filled according to a distinctive pattern that I choose. To
2007 Dec 10
2
Viewport and grid.draw
Hi Deepayan and everyone, I need to add a common legend to a group of latice graphs, I have tried different ways using viewport and grid.draw without success. Here is what I have: plot.new() library(grid) library('IDPmisc') print(plot1, split=c(1,1,2,4), more=TRUE) print(plot4, split=c(2,1,2,4), more=TRUE) print(plot2, split=c(1,2,2,4), more=TRUE) print(plot5, split=c(2,2,2,4),
2007 Jun 01
2
HTML vignette browser
Hi, this is tangentially related to the recent discussion on vignettes. vignette() currently produces a listing of available vignettes, but these are not clickable. Since R has a browseURL() function, it seems natural to have a version that produces HTML with clickable links. Here's an attempt at that: source("http://dsarkar.fhcrc.org/R/vignette-browser.R") browseVignettes()
2009 Sep 19
3
Lattice: combine the same strip?
Hello R helpers, I am producing a figure with dual strips, i.e., x~y | S1 + S2, where S1 and S2 are two strips. For example, in figure 2.1 at http://lmdvr.r-forge.r-project.org/figures/figures.html. In this case, I would like to combine the the top strip, since all three pictures in the same row have the same level based on the first strip. In other words, instead of | -- S11 -- | -- S11 -- |
2011 Feb 02
2
grey scale graphs
Hi everyone, Does anyone know how to get "black and white theme" (grey scale,, I would say) graphs using lattice or ggplot2, as it is shown in this webpage: http://lmdvr.r-forge.r-project.org/figures/figures.html? I am using Sweave, and I cannot get that color configuration. I have added the following option: trellis.device(color=FALSE) but I got a pdf file with color graphs. Thank
2007 Apr 13
1
help with Qt and event loops
Hi, I have been playing with Qt recently, and have the beginnings of a Qt device. Unfortunately, I haven't been able to make it work as an R package yet (I know the device code works because I can use it from a GUI where R is embedded). Trying to package it, I have managed to get it to a stage where typing > library(qtdevice) > QT() will open up a new window, but then control
2012 Feb 22
1
Lattice and horizontally stacked density plots
Hello, I am try to make a density plot where plots are stacked like the one found here: http://dsarkar.fhcrc.org/lattice/book/images/Figure_14_03_stdBW.png I am facing problems, however. Using the code example below, I'd like to generate a separate panel for each val of id2. Within each panel, I'd like to have individual histograms each on separate lines based on the value of id1. ?Note
2010 Mar 03
1
How to create a line and bar panel chart with two different axes?
I need to create a line and bar panel chart with two different axes. I tried in lattice but couldn't get it worked. Here is my code: data(barley) barchart(yield ~ variety | site, data = barley, groups = year, layout = c(1,6), stack = F, auto.key = list(points = FALSE, rectangles = TRUE, space = "right"), ylab = "Barley Yield
2008 Oct 04
1
Number format in log-scaled lattice xyplots
For a non-log-scaled y-axis, I was able to change the appearance of the y tick labels in an xyplot by using a custom function for yscale.components. However I couldn't get that approach to work for when scales=list(y=list(log=TRUE)). What I'm trying to do is make the y-tick labels show up as something like (10, 100, 1000, etc.) rather than the default (10^1.0, 10^2.0, 10^3.0, etc.).
2008 Dec 10
2
How to Break Axis in Lattice Plot
Dear All, I have searched the following problem in the R help achives, and there did not seem to be solutio for it. The problem is how to break the axis in the xyplot (lattice plot). I read the posts using the package plotrix, buy it doesn't work with the xyplot, which is lattice based. A simple example is attached below: xyplot(c(1:10,100)~c(1:10,100)) What I would like to do is
2007 May 04
2
Qt device update
Hi, a few days back I had asked for help on a Qt device package. Thanks to hints from Duncan TL and Thomas Friedrichsmeier, I now have something more or less functional. For those interested, It can be downloaded from http://dsarkar.fhcrc.org/R/R-Qt.html I have a couple of related questions. First, dev.interactive(), used in example() and many demo()-s to decide if the current device is
2007 Dec 08
1
OT: 3d surfaces with transparency
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I would be grateful if anyone had suggestions about software that could (1) create 3D surface plots, (2) handle transparency/alpha blending, (3) generate output in some vector graphics format that preserved the transparency. I could also live with a combination of two programs, one to generate the basic figure and another to modify the output
2012 May 15
1
Lattice: Add abline to Single Value qqmath() Plot
The data are not normally distributed when untransformed and I'm trying various transformations to see if any would be appropriate to use. The lattice book (fig. 3.10) shows a 2-sample Q-Q plot with an abline but the code for the figure does not include the line. I'd appreciate a pointer to a reference on how to add an abline to a one-sample qqmath() plot in lattice. Rich
2007 Mar 26
1
using alpha transparency for lines in levelplot
Hello, I'm having trouble with using the alpha channel for transparency with lines with lattice levelplots. If I use transparency via the alpha argument to rgb to overplot lines on levelplot the transparent colour affects all of the region colours in the plot. Can anyone explain why the difference in region colours? #### Warning: this code attempts to create PDF files in working directory
2010 Nov 30
2
xyplot : superimposed 2 groups in different panels
Hello, I would like to plot the following xyplot : for each date of fff (1 date per panel), bbb=f(aaa) for the two groups (ddd=1 and ddd=2) superimposed. I can do it by group (see below) but not together. I looked at http://lmdvr.r-forge.r-project.org/figures/figures.html but I haven't found what I was looking for (to be honest, I haven't understood all the examples). Any help will be
2013 Mar 24
3
Parallelizing GBM
Dear All, I am far from being a guru about parallel programming. Most of the time, I rely or randomForest for data mining large datasets. I would like to give a try also to the gradient boosted methods in GBM, but I have a need for parallelization. I normally rely on gbm.fit for speed reasons, and I usually call it this way gbm_model <- gbm.fit(trainRF,prices_train, offset = NULL, misc =
2013 Feb 09
3
Addressing Columns in a Data Frame
Dear All, Probably a one liner, but I am banging my head against the floor. Consider the following DF <- data.frame( x=1:10, y=10:1, z=rep(5,10), a=11:20 ) mn<-names(DF) but then I cannot retrieve a column by doing e.g, DF$mn[2] I tried to play with the quotes and so on, but so far with no avail. Any suggestion is welcome. Cheers Lorenzo
2019 Jul 09
3
[R] Curl4, Quantmod, tseries and forecast
Hi Ralf, I tried the following > install.packages("RCurl") which went OK, but then same story when I tried to install tseries. > sessionInfo() R version 3.6.1 (2019-07-05) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Debian GNU/Linux 10 (buster) Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.8.0 LAPACK: