similar to: How do I get an inset graph (i.e. graph within a graph)?

Displaying 20 results from an estimated 8000 matches similar to: "How do I get an inset graph (i.e. graph within a graph)?"

2005 Dec 06
2
figure with inset
I am trying to plot a figure within a figure (an inset that shows a closeup of part of the data set). I have searched R-help and other sources but not found a solution. What I would like to do is (1) produce a plot (2) specify a window that will be used for the next plot (in inches or using the coordinate system of the plot produced in (1) (3) overlay a new plot in the window specified under (2)
2008 Jul 29
2
Is there anyway to clip the bottom of a barplot?
Hi, all, I need to show only values in a barplot from say 4-12. When I do this, values below 4 are not cutoff. I would appreciate any input into how I could cut the bottom part of the bar off. Best wishes, Art Roberts University of Washington Department of Medicinal Chemistry
2012 Apr 20
1
Ternaryplot as an inset graph
Hello I am trying to add a ternary plot as a corner inset graph to a larger main ternary plot. I have successfully used add.scatter in the past for different kinds of plots but It doesn't seem to work for this particular function. It overlays the old plot rather than plotting as an inset. Here is a simple version of what I'm trying. Note that if I change the inset plot to be an ordinary
2011 Sep 27
2
inset one map on top of another map
I want to overlay a small inset map on top of another map, but I can't figure out how to do it. For example, here are two different maps: # map 1 - Ohio map("state", region= "ohio") # map 2 - US with Ohio darkened map("state") map("state", region="ohio", fill=T, add=T) I would like to add map 2 as a small inset in the corner of map 1. I
2008 Dec 05
1
Trouble with gridBase and inset plots
Dear All, I ma having a trouble in generating a figure containing 3 insets with the gridBase package. I always get an error message of the kind: Error in gridPLT() : Figure region too small and/or viewport too large No matter which parameters I choose. The plots works nicely with two insets only, but when I try adding the third one, my troubles begin. I am probably doing something wrong in the
2008 Jul 28
1
Are there any packages that can process images other than pixelmap (i.e. pnm)?
Hi, all, I am having trouble getting R to take pnm images via mogrify i.e. mogrify -resize 320x217 -format pnm *.png However R via pixmap says that it can't read the file. If you have any ideas like a package that can read jpeg files, etc., I would appreciate it. Best wishes, Art Roberts University of Washington
2008 Aug 04
5
Are there any guis out there, which will allow editing of the graph?
Hi, all, I would like to know if there is any gui interface out there (academic or commercial) that allows one to edit R-language generated graphs (e.g positioning x axis labels.) It would be nice to have something like the user interface of Igor or Origin. I have already used JGR and R-gui. These are good, but they don't allow one to easily edit graphs. I have also tried
2007 Oct 18
1
Lattice fails to draw insets
Hello all lattice experts! I'm currently trying to plot inset figures in my lattice graphics. The plot is composed out of two panels and in each panel I want to show an inset figure which is a closeup of the data in each panel. Thus in each panel I call xyplot again to plot the inset which I place in a grid viewport. Nevertheless, once my first inset plot is drawn, lattice aborts with an
2008 Mar 20
4
little subplot in corner
I want to draw a little subplot ("overview") into my detailed plot. It should be placed in say the top right corner and have the size of some legend (like legend(x="topright", inset=0.03, ...) #main plot plot(rnorm(100)) #give little density in corner plot(seq(-2,2,length=300),dnorm(seq(-2,2,length=300)),type="l") I don't want something like par(mfrow=c(1,2)) as
2009 Feb 25
2
A Modest Definition List Proposal (David E. Wheeler)
Taking David's example further, here is a first try: id | name | description | more info -----+---------+-------------------+----------------- 6 | Inset | An inset element | just one element 8 | Stories | Another element | another element : with 2 lines, without : colons on the left. 9 | Other
2008 Jun 18
1
Histogram inset into another histogram
Dear R users and helpers, I'm trying to find an example of a histogram plot as an inset (upper right or left corner) of another histogram. Anyone has an example of that? Thanks for your help, V?ctor. -- ----------------------------------------------------------------------- V?ctor Homar Santaner Grup de Meteorologia Edif. Mateu Orfila Tel: +34 971 17 1376
2008 Jul 25
3
Bug in gap.plot
Hi, all I am trying to make a plot with a axis break and I want the whole plot to be line, not points. However, when I execute the following command half of the graph is points and the other lines. gap.plot(Xdata, Ydata,gap=c(5,6),gap.axis="x",type="l") I think it might be a bug in plotrix. I would greatly appreciate your input. If there is another way to do it, I
2008 Sep 24
3
Is there a single command that can revert all the plotting parameters to default?
Hi, all, This might be a stupid question. Is there a single command in R that can revert parameters to default? It is much appreciated. Best wishes, Art Roberts University of Washington
2012 Feb 16
2
Legend vanishes when placed outside the graph
Hello everyone, i’ve got a problem with my diagram’s legend. I know i should be able to figure it out by reading the ‘plot’ and ‘legend’ reference. However nothing works so it would be kind if anyone could point me to the necessary parameters. The problem is that i’m moving the legend using the ‘inset’-parameter so it does not overlap with the graph. However it vanishes outside the graph, so
2007 Sep 13
1
minimize white space around lattice plot
Dear list, I'm trying to produce a plot via xyplot with minimal sourounding white space. However, I cannot find the options in xyplot, ps.options or wherever which prevents lattice from drawing quite some white space around my plot. However, this is quite a problem for me as I want to produce an inset plot inside another lattice-plot. I'm using the panel function to open a viewport and
2008 Jul 24
1
Installing R packages in Textmate
To Whom It May Concern: I need to use various packages in R and I also want to use Textmate. Problem 1: Textmate doesn't seem to recognize the packages that are already installed on R. Problem 2: When I execute the following command: install.packages("ade4", repos="http://cran.r-project.org", contriburl = contrib.url(
2008 Aug 03
0
gmaps, projection, inset
Running R version 2.6.1 under Gentoo Linux, I'm trying to produce a thematic map of the USA using the gmaps package. The result thus far has two problems from my point of view. First, the projection (Miller cylindrical?) elongates southern states and flattens northern ones unattractively. I'd prefer Albers conic projection or something similar. Second, the inset for Alaska is placed
2008 Feb 18
1
Plotting a legend outside the figure - units
Dear R gurus, I am trying to plot a legend in the margins of a figure. The basic idea is to have two (or more) plots on the same figure, but then to have a common legend at the bottom of the plot. The approach that I have taken is to setup the figures, then do a "dummy" plot of the legend to determine the height of the legend box (ie from the value returned by the legend() command). I
2006 May 10
2
Legend titles in log plots broken? (ver. 2.2.1)
Legend titles work in linear plots: curve(1/x, xlim = c(0, 1)) legend(x = 'topright', inset = 0.04, legend = '1/x', lty = 1, title = 'Legend Title') But when you change to a log plot on either dimension things get screwy: curve(1/x, xlim = c(0, 1), log = 'y') legend(x = 'topright', inset = 0.04, legend = '1/x', lty = 1,
2008 Aug 04
2
thematic map of USA
My goal is to prepare a thematic map of the US, with states shaded according to their values for a variable of interest. I would like to include an inset for Alaska in the upper left and an inset for Hawaii in the lower left. If possible, I'd like to use Albers conic projection, or something similar. Thus far I have tried using the maps package with its state database (which omits