search for: hadj

Displaying 20 results from an estimated 29 matches for "hadj".

Did you mean: had
2008 Jun 27
0
unexpected lining up of labels in axis(4, hadj=1) (PR#11840)
...n Fri, 27 Jun 2008, rene.locher at zhaw.ch wrote: > Full_Name: Rene Locher > Version: 2.7.1 > OS: i386-pc-mingw32 > Submission from: (NULL) (160.85.231.140) > > > Here is the example: > > par(las=1,mar=rep(4,4)) > plot(c(-1000,1000),axes=FALSE) > box() > axis(4,hadj=1) > ## axis labels are positioned in an awkward way > > ## I would expect to see label positions like here: > axis(4,hadj=1,mgp=c(3,3,0)) > > These are my sessionInfos: > R version 2.7.1 (2008-06-23) > i386-pc-mingw32 > > locale: > LC_COLLATE=German_Switzerland.125...
2011 Jan 13
3
Rotated, Right-Justified Labels for Shortened Tick Marks
Hello R-help, I'm trying to make a fairly simple plot axis that goes something like this: plot(-10:10,-10:10, yaxt='n') axis(side=2, las=1, hadj=1, tck=-.01, cex.axis=.6) ...but as you can see, the labels are not close enough to the y-axis (where I want them... to save space for publication). Can anybody help me figure out how to move these labels over the the right a bit? Thanks, -D
2008 Oct 01
3
shifting ticks to left or right
Hey list, Does anybody knows a command to centre the tick mark labels exactly between the tick points (right shift)? And then to exclude the last tick label on the right? I know one can shift them using the 'hadj' option in par. But I am wondering if there is a more convenient command! Thanks a lot!! Stefan [[alternative HTML version deleted]]
2009 Jul 09
9
Population pyramids
Hi, I hope somebody can help me with this issue: I am doing population pyramids using the barplot command, so in the left side I have male age structure and in the right side the female age structure. To plot the male age structure I put the data in negative numbers. Now, I want to change the sign in the bar plot in such way that I have no-sign numbers, both in left and right side of the graph. I
2007 Nov 02
2
add histograms or distributions on regression line
hello, does anyone know how to add histograms or distributions on regression like just like quantiles regression in RGraphGallery below, a very delicate codes. Thanks alot. http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=109
2009 Aug 19
0
font size on graphics
...', pch = 19, frame.plot=F,xlab='',ylab=lg10_label,cex.lab=setting[rol,6],cex.axis=setting[rol,8]) arrows(1:nrow(meanstable) , meanstable$Upper , 1:nrow(meanstable) , meanstable$Lower, lty=3, code = 3, angle = 45, length = .1) axis(3,at=1:2,unique(meanstable$Test)[c(1,2)],las=1 ,hadj=0.5, padj=c(1,0),cex.axis=setting[rol,8]) # upper X axis axis(3,at=2:3,unique(meanstable$Test)[c(2,2)],las=1 ,hadj=0.5, padj=c(0,-1),cex.axis=setting[rol,8]) axis(3,at=3,unique(meanstable$Test)[3],las=1, hadj=0,padj=-1,cex.axis=setting[rol,8]) axis(1,at=c(1:3),c('','1',...
2009 Aug 19
0
font size on graphics question (correction in example,sorry)
...n', pch = 19, frame.plot=F,xlab='',ylab=lg10_label,cex.lab=setting[rol,6],cex.axis=setting[rol,8]) arrows(1:nrow(meanstable) , meanstable$Upper , 1:nrow(meanstable) , meanstable$Lower, lty=3, code = 3, angle = 45, length = .1) axis(3,at=1:2,unique(meanstable$Test)[c(1,2)],las=1 ,hadj=0.5, padj=c(1,0),cex.axis=setting[rol,8]) # upper X axis axis(3,at=2:3,unique(meanstable$Test)[c(2,2)],las=1 ,hadj=0.5, padj=c(0,-1),cex.axis=setting[rol,8]) axis(3,at=3,unique(meanstable$Test)[3],las=1, hadj=0,padj=-1,cex.axis=setting[rol,8]) axis(1,at=c(1:3),c('','1',&...
2009 Apr 02
1
Tick label orientation
I had hoped that plot(c(0,24),c(0,-6),xlab="Time",ylab="Day", type="n", main="This Week",axes=FALSE) axis(2,at=0:(-6), labels = c("Sun","Mon","Tues","Wed","Thurs","Fri","Sat"),hadj=TRUE) axis(1,at=seq(0,24,4)) would give me horizontal tick labels. It doesn't. What would? Murray -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of Statistics, University of Waikato, Hamilton, New Zealand Email: maj at waikato.ac.nz...
2011 Sep 09
5
Re: Stratosphere - Conquest of the Skies game blacks out screen.
Has there been any update for this issue in Wine since I posted the terminal messages? I'm not using CrossOver support such as hadj, so my issue should still be valid. Best regards.
2008 Nov 20
2
Label justification (axis) (PR#13307)
Full_Name: Martin Karl-Friedrich Bader Version: 2.8.0 OS: 10.5.3 Submission from: (NULL) (131.152.1.1) Hi there, when using las=1 on the y-axis the labels keep their centered justification, e.g. if you plot a graph using the axis command: axis(side=2, at=c(0,50, 100, 125), lab=c("0","50","100", " "), las=1), then the 0 and the 50 are centered in relation
2010 Mar 24
1
isdst warning when rounding a range of time data: fix or suppress?
...(timedata), "hours")) # Variable for displaying days on the x-axis stime <<- as.POSIXct(round(range(timedata), "days")) # Plot the hours on the x-axis axis.POSIXct(1, at=seq(rtime[1], rtime[2], by="hour"), format="%H", cex.axis=.6, lwd=0, lwd.ticks=1, hadj=0.2, las=2, tck=-0.02) # Plot the days on the x-axis axis.POSIXct(1, at=seq(stime[1], stime[2], by="day"), format="%A", cex.axis=.7, line=1, lty=0, padj=-1.4) ========================= The data generated and the plots look fine. R issues a warning on the round() function when...
2005 Apr 02
2
Building new graphic device drivers with g++
..._Rect(double x0, double y0, double x1, double y1, R_GE_gcontext *gc, NewDevDesc *dev) { Rprintf("rectangle(%lf,%lf,%lf,%lf)\n", x0, y0, x1, y1); } static void NULL_Text(double x, double y, char *str, double rot, double hadj, R_GE_gcontext *gc, NewDevDesc *dev) { Rprintf("text(%lf,%lf,\"%s\",%lf,%lf)\n", x, y, str, rot, hadj); } static void NULL_NewPage(R_GE_gcontext *gc, NewDevDesc *dev) { Rprintf("newpage\n"); }...
2007 Feb 26
3
PLotting R graphics/symbols without user x-y scaling
Is it possible to add lines or other user defined graphics to a plot in R that does not depend on the user scale for the plot? For example I have a plot plot(x,y) and I want to add some graphic that is scaled in inches or cm but I do not want the graphic to change when the x-y scales are changed - like a thermometer, scale bar or other symbol - How does one do this? I want to build my own
2011 May 03
6
Simple loop
Hello everybody, I am beginning with loops and functions and would be glad to have help in the following question: If i have a dataframe like this Site Prof H 1 1 24 1 1 16 1 1 67 1 2 23 1 2 56 1 2 45 2 1 67 2 1 46 And I would like to create a new column that subtracts the minimum of H from H, but for S1 and P1 only
2010 Apr 20
1
multiple plots problem
...,bg="white",cex=0.75,las=1) par(new=T) plot(c(1:4),mw[5:8],type="o",xaxt="n",xlab="",yaxt="n", ylab="",ylim=c(0,12),xlim=c(0.7,4.3),pch=15,cex=0.75) axis(1,at=c(1:4),labels=c(rep("",4))) axis(1,at=c(1:4),line=1.2,lwd=0,adj=0,hadj=0.5,padj=0.5,las=2, labels=c("Pioneer","Early","Late","Alpine\nGrassland")) text(0.7,11,adj=0,"Richness",font=2) ################################################################### dev.off() -- View this message in context: http://n4.nabble.co...
2008 Oct 12
2
RFC: Kerning, postscript() and pdf()
...and PDF reference manuals mandate that behaviour, if rather obscurely). This means that in strings such as 'You', the width used in the string placement differs from that actually displayed. For postscript(), this doesn't have much impact, as centring or right justification ('hadj' in text()) is done by PostScript code and computes the width from the actual font used (and so copes well with font substitution). It might affect the fine layout in plotmath, but using strings which would be kerned in annotations is not common. For pdf() the effect is more commonly seen,...
2009 Jan 19
1
patch for textspecial and defaultfont in xfig
...pd->landscape = horizontal; + pd->textspecial = textspecial; + pd->defaultfont = defaultfont; pointsize = floor(ps); if(R_TRANSPARENT(pd->bg) && R_TRANSPARENT(pd->col)) { free(dd); @@ -5108,7 +5114,7 @@ fprintf(fp, "4 %d ", (int)floor(2*hadj)); /* Text, how justified */ fprintf(fp, "%d 100 0 ", XF_SetColor(gc->col, pd)); /* color, depth, pen_style */ - fprintf(fp, "%d %d %.4f 4 ", fontnum, (int)size, rot * DEG2RAD); + fprintf(fp, "%d %d %.4f %d ", pd->defaultfont?-1:fontnum, (int)size, rot *...
2011 Sep 25
2
Increase space between xlab and X axis tick labels
People, I am using the "las=2" parameter to rotate the labels for the X axis ticks but it means that they are almost touching the "xlab" string. I have been messing around with the "mai" paremeter but that doesn't help - is there some way of increasing the space between xlab and the X axis tick labels? Thanks, Phil. -- Philip Rhoades GPO Box 3411 Sydney
2011 Sep 06
1
Re: Stratosphere - Conquest of the Skies game blacks out screen.
Funny, I searched for "cannot find a d3d device fullscreen mode" and this post came up, addressing EXACTLY the game I'm trying to play. I thought that this D3D stuff was supported by wine (I'm using crossover, for Mac). Is there any information about how to make the fullscreen issue go away so I can play Stratosphere! I bought an old copy from Amazon, so it shouldn't be a
2009 Jan 25
1
Warning for dropped text with devices that don't support clipping (in text attachments)
...") ------- patch ------- Index: src/main/engine.c =================================================================== --- src/main/engine.c (revision 47716) +++ src/main/engine.c (working copy) @@ -1424,7 +1424,7 @@ if (toDevice) /* Device will do clipping */ textfn(x, y, str, rot, hadj, gc, dd->dev); else /* don't draw anything; this could be made less crude :) */ - ; + warning(_("current device doesn't support clipping, text removed '%s'"), str); } }