You can embed plots using the subplot function in the TeachingDemos package.
-- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Alex Reynolds > Sent: Friday, June 13, 2008 4:56 PM > To: r-help@r-project.org > Subject: [R] stretching text vertically > > I'd like to stretch a plotted character vertically, to create > a "sequence logo". > > Is there a parameter to allow stretching text() output > vertically or squeeze horizontally? > > I know about Oliver Bembom's seqLogo library, but this > generates a sequence logo plot using a separate bitmap > device. I want to recreate the sequence logo *inside* an > existing plot. > > Alternatively, is there a way to embed one plot inside another? > > I could use imagemagick outside R to 'montage' separate > bitmaps, but then the sequence logo is going to be very > difficult to align (base for > base) with the plot I'm trying to join it to. > > Thanks for any tips, > Alex > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.