similar to: Problem with grid's text-based units and TrueType fonts

Displaying 20 results from an estimated 400 matches similar to: "Problem with grid's text-based units and TrueType fonts"

2006 Feb 15
2
Ruby install tips
---------- Forwarded message ---------- From: Luciano Broussal <luciano.broussal@gmail.com> Date: Feb 15, 2006 5:00 PM Subject: [Rails] To: rails@lists.rubyonrails.org Hi all, Is anybody know how + to install a ruby application (persitent , after computer restart) in the system tray. Is any body know an installer to package ruby application and to compile it as an file .exe Thank you all
2012 Jan 31
1
R help, labeling the tick marks as I want
R help, I would like to change the labels of my tick marks on the x-axis, and I am having difficulty understanding how. Basically, my current axis labels are: 0, 50, 100, 150, 200, and I would like: 1962Q1, 1974Q2, 186Q4, 1999Q2, 2011Q4. With all respect to generality, could you please simply tell me the code to achieve this in the context of this problem? I learn programming by example and
2009 Aug 07
1
lattice dotplot: line height for multi-line labels
Dear R-users, I am looking for suggestions on how to control the line-height for multi-line labels in lattice dotplot. In particular, in the dotplot produced by library(lattice) aa <- c('A'=10,'B\nb'=20,'C'=30) dotplot(aa) I would like to control the vertical separation between 'B' and 'b' in the second label on the y-axis. For multi-line axes
2007 Oct 31
1
Lattice: par.ylab.text alpha ?
Hi all, I've got R for windows 2.3.1 I'm trying to modify my lattice histograms. The following does reset the y-label to blue, but I cannot turn off the label (alpha=0), nor shift label position (I'm assuming that is what lineheight is for). Is 'lineheight' the equivalent of 'line' in mtext? Am I erring somehow? Thanks!
2011 Jan 15
1
Truetype and Opentype font in pdf device
Deal all, I want to know if truetype or opentype fonts are available in pdf device (i.e., pdf() or dev.copy2pdf()), and if so, how to do it? Now I can do as followings: 1. convert ttf to afm using ttf2afm, e.g.: $ ttf2afm Impact.ttf > Impact.afm 2. put the afm file in $R_HOME/library/grDevices/afm 3. register a new type1 font: pdfFonts(Impact=Type1Font("Impact",
2016 Apr 09
1
Run script R
hi all ,? i have an problem in script R . But when I execute the script R I face this error . can you help me please ???error:----------------------------------------- Error in FUN(X[[i]], ...) :?? Theme element 'text' has NULL property: margin, debugIn addition: Warning messages:1: Removed 361 rows containing non-finite values (stat_smooth).?2: Removed 361 rows containing missing values
2009 Mar 10
1
Centering multi-line strip text in lattice
I'm having trouble centering multi-line strip text in lattice. As the code below demonstrates bounding box of the text is centered within the strip, but the first line isn't centered in relation to the longer second line. The "adj" argument to par.strip.text doesn't seem to do much. Suggestions? a=data.frame( x=rep(1:10,2) ,y=rep(1:10,2) ,z=rep(c('First Line\nLonger
2001 Sep 21
2
new versions of grid and lattice
Hi There are new versions of the grid and lattice packages on CRAN: grid 0.2 and lattice 0.3-0 These packages are still _under development_ (they are in CRAN/src/contrib/Devel) There have been some bug fixes and, especially in lattice, there are lots of new features. Descriptions of the changes are included below. If you have any grid code, it may break under the new version because of a
2001 Sep 21
2
new versions of grid and lattice
Hi There are new versions of the grid and lattice packages on CRAN: grid 0.2 and lattice 0.3-0 These packages are still _under development_ (they are in CRAN/src/contrib/Devel) There have been some bug fixes and, especially in lattice, there are lots of new features. Descriptions of the changes are included below. If you have any grid code, it may break under the new version because of a
2008 Feb 13
1
changing scroll bar behavior
I need to change the behavior of the scrollbar when the user presses up/down arrows on the scroll bar. Specifically, I''d like to be able to set the number of pixels that scrollTop changes by when this happens. I have a div with no content that I set a height equal to the number of discrete positions I need to scroll through. I then tried to set lineHeight and fontSize to 1 and 1px
2011 Nov 17
1
Introducing \n's so that par.strip.text can produce multiline strips in lattice
Dear all, I have the following data, which has \\n in place of \n. I introduced \n's in the csv file so that I could use it in barchart in lattice. When I did that and read it into R using read.csv, it read it as \\n. My question is how do I introduce "\n" in the middle of a long string of quoted text so that lattice can make multiline strips. Hitting Enter which is supposed to
2005 Oct 03
0
Prototype Ajax.Request (onLoading and onSuccess) question
Hi, I am working on a page that updates a calendar via Ajax.Request when the previous (''? <http://luther.edu/new/?cur_month=2005-09>'') or next (''? <http://luther.edu/new/?cur_month=2005-11>'') month links are clicked . http://luther.edu/new/ It seems to work fine if I don''t call anything onLoading. http://luther.edu/new/noonloading.php
2013 Aug 22
0
Close with a ggplot chart but need a little assistance
I have the following code and data data.csv "","Goal","Frequency","Weight","Group" "1","Move",13,0.245283018867925,"Public" "2","Create",10,0.188679245283019,"Public" "3","Strengthen",30,0.566037735849057,"Public"
2012 Mar 02
0
ggplot2 0.9.0
# ggplot2 ggplot2 is a plotting system for R, based on the grammar of graphics, which tries to take the good parts of base and lattice graphics and avoid bad parts. It takes care of many of the fiddly details that make plotting a hassle (like drawing legends) as well as providing a powerful model of graphics that makes it easy to produce complex multi-layered graphics. Find out more at
2012 Mar 02
0
ggplot2 0.9.0
# ggplot2 ggplot2 is a plotting system for R, based on the grammar of graphics, which tries to take the good parts of base and lattice graphics and avoid bad parts. It takes care of many of the fiddly details that make plotting a hassle (like drawing legends) as well as providing a powerful model of graphics that makes it easy to produce complex multi-layered graphics. Find out more at
2009 Aug 25
2
allowing line wrap for long strip text in xyplot (lattice)
Hi. Am brand new to R and to mailing lists - have never posted anywhere before, so hope I do this right. Am using R 2.9.1 with lattice graphics (just installed, fully up to date). Am doing trellis xyplot with y (emp=employment), x (yearmo=a time measure) and conditioning variable (indf - factor describing industry) -- i.e., (emp ~ yearmo | indf), where all three variables are in a dataframe. The
2011 Nov 18
1
Drawing ticks in the 3rd and 4th row of a lattice
Dear all, I want to draw ticks on the 3rd and 4th row of a lattice. How do I do this ? In my search of the help, I discovered a parameter alternating,which kind of says where the ticks will be but does not suffice for me. I am running this command : - barchart(X03/1000~time|Company, data=df1[which(df1$time!=1),], horiz=F,
2009 Jan 24
2
ggplot2 - how to change location / position of wind rose axis labels?
Dear R users, First just want to say thank you to all for developing such a wonderful software and packages. I need to produce a wind rose plot. Tried with packages circular and plotrix and couldn't quite get what I want. Moved to package ggplot2 and it's going great. However stuck in how to move axis labels. I am using the wind rose from the help to learn how to do what I need (code
2003 Dec 30
0
grid's viewports
Hello! There is something wrong with nested viewports in grid package (I have tested it in R-1.8.0, may be it is different in other versions). Here is an simple example of a feature which seems strange to me: x11() rec<-T push.viewport(viewport(xscale=c(-10,10),yscale=c(-10,10),gp=gpar(col="magenta")),recording=rec) #Parent viewport with scales -10:10
2009 Mar 19
1
Simple Plot with Grid's Viewport
Dear all, I have the following code that try to plot simple sinus curve into 2x2 grid in 1 page. But this code of mine create 4 plots in 1 page each. What's wrong with my approach? __BEGIN__ library(lattice) library(grid) test.plot <- function(x,y) { pushViewport(viewport(layout.pos.col=x, layout.pos.row=y)) pushViewport(viewport(width=0.6, height=0.6)); plot(sin,-pi,2*pi, main=