search for: linewidths

Displaying 20 results from an estimated 45 matches for "linewidths".

Did you mean: linewidth
2006 May 08
1
persp or wireframe 3D plot: how can I independently adjust linewidth of the 'surface' and framebox?
It is a trivial matter to adjust the linewidth of the axes and plot line in a 2D plot: x <- 1:10; y <- 1:10; par(lwd=2); # axis (and others) linewidth plot(x,y,"l",lwd=6); # plot linewidth Is there anything comparable to this for persp or wireframe? I've tried a number of ways, and the framebox/axes seem to be linked to the linewidth used in generating the
2007 Oct 04
1
linewidth in Rgraphviz
I'm an Rgraphviz newbie trying to figure out how to do some things/whether they are possible. Apparently graphviz does allow you to modify line widths of edges: see https://mailman.research.att.com/pipermail/graphviz-interest/2001q2/000051.html (although it looks a little obscure even in graphviz). [As discussed in the thread above, the "weight" parameter in Rgraphviz sets the
2000 Feb 11
2
R hangs sometimes and crashes (PR#429)
Full_Name: Kjetil Kjernsmo Version: 0.65.1 OS: Digital UNIX 4.0 Submission from: (NULL) (129.240.28.172) I have the following R code: ncloudsbin <- function(binno, ntotalclouds, numberofbins = 100, linewidth = numberofbins / 6) return(ntotalclouds * dnorm(binno, sd = linewidth)) photonsincidenttodetectorbin <- function(binno, ntotalclouds, avgphotonfromcloud, ampmode = 1, ampmean = 2,
2000 Feb 15
1
rpois gives a large number repeatedly (PR#439)
Full_Name: Kjetil Kjernsmo Version: 0.65.1 OS: Digital UNIX 4.0 Submission from: (NULL) (129.240.28.172) I'm experiencing problems with rpois. Occasionally, it draws a very high number. Yeah, I know, this is statistics, things like that does happen, but this really strange because a poisson distribution with a parameter of 3 shouldn't see the number 1932 very often, but the same,
2008 Feb 12
1
controlling the edge linewidth in Rgraphviz
Hello, I would like to have different linewidths for the edges of my graph. I read the documentation but could not find how to control this. On the Graphviz help page I've seen that there is something called "penwidth" but I could not find it in the R edge attributes. Thanks a lot for any help. Adrian Dragulescu
2008 Feb 12
0
[Fwd: Re: controlling the edge linewidth in Rgraphviz]
...lwd=2))) There is a Vignette that explains all the new stuff. Florian > http://finzi.psych.upenn.edu/R/Rhelp02a/archive/111006.html > > On Feb 11, 2008 9:56 PM, Adrian Dragulescu <adrian_d at eskimo.com> wrote: > >> Hello, >> >> I would like to have different linewidths for the edges of my graph. I >> read the documentation but could not find how to control this. On the >> Graphviz help page I've seen that there is something called "penwidth" but I >> could not find it in the R edge attributes. >> >> Thanks a lot for a...
2001 Jan 09
1
Setting fontsize in dev.copy2eps
...t arguments to dev.copy2eps. But then, the figure gets too large, and scaling down the figure to a reasonable size when including the figure in a document, things like linewidth become to small. The only way out of this as I see it (apart from not using dev.copy2eps) is to enlarge all objects like linewidths, fontsizes, etc. So, when the figure is scaled down (when including it in a document, leaving it at its default size at the moment of saving with dev.copy2eps), the linewidths and fontsize come out OK. This seems a bit drastic. Is it even possible to resize all elements? For instance, can I enlarg...
2010 Apr 17
2
Question regarding R plot
Hi, I am new to R, and have a quick question regarding an R script that I received from a kind colleague. I am trying to determine the "peak" (maximum value) of the graph that is plotted when executing the following. There is an input file called "rates_values.txt" which begins as: rateValue 0.375693 0 1.71274 0 0 1.02832 0 0.16343 1.02349 0 0 1.47258 0.703522 0.390541
2004 Mar 11
1
Difficulties in interaction between R and latex (prosper)
Hello, folks! I'm trying to use R as a graphics program, to make some pretty graphs that will go into prosper slideshows. I wrote this fragment, from the R manual, into a file demo.R: x=seq(-3,3,0.1) postscript("cm_test.eps", width = 4.0, height = 3.0, horizontal = FALSE, onefile = FALSE, paper = "special", family =
2000 May 07
1
Problem with match.arg() (PR#536)
Full_Name: Kjetil Kjernsmo Version: Version 1.0.0 OS: osf1 Submission from: (NULL) (129.240.28.227) Hello again! This is a follow-up to my message on R-help about a problem with match.arg() I have a little more on the topic, but not much really. First, it was not entirely true what I wrote in r-help that I call match.arg() in my ramp(), because ramp() just calls qamp() with runif() as
2009 Jun 04
0
type = 'b' with Grid
Dear all, I feel like I've been reinventing the wheel with this code (implementing type = 'b' for Grid graphics), http://econum.umh.ac.be/rwiki/doku.php?id=tips:graphics-grid:linesandpointsgrob Has anyone here attempted this with success before? I found suggestions of overlapping large white points to mask the lines but it's not ideal. I welcome any comments on the code.
2023 Aug 12
1
geom_smooth
?s 05:17 de 12/08/2023, Thomas Subia via R-help escreveu: > Colleagues, > > Here is my reproducible code for a graph using geom_smooth > set.seed(55) > scatter_data <- tibble(x_var = runif(100, min = 0, max = 25) > ?????????????????????? ,y_var = log2(x_var) + rnorm(100)) > > library(ggplot2) > library(cowplot) > > ggplot(scatter_data,aes(x=x_var,y=y_var))+
1997 Sep 08
1
R-alpha: Re: lwd, cex and par(.) issues [was "... windows quirks .."]
[[yet another discussion brought from R-core to R-devel]] >>>>> "RG" == Robert Gentleman <rgentlem@stat.auckland.ac.nz> writes: RG> Peter, there is some code for line types and widths in all the RG> drivers. With windows there is the well known limitation that you RG> can't have patterened lines with lwd larger than 1 (unless you
2005 Jan 06
2
autoscaling plot font size in Sweave output possible?
Hi, I was wondering if it's possible to have fonts in plots to be autoscaled to the same font size used by LaTeX in a surrounding Sweave document. Here's a short example in which the fonts of the first plot are barely readable: --8<------------------------schnipp------------------------->8--- \documentclass{article} \usepackage{graphicx} \newcommand{\mytext}{Some normal sized
2003 May 08
2
border of bars in lattice barchart
Hello! How to change a color (or linewidth) of border in lattice 'barchart'? I am trying barchart( (......) - my arguments panel=function(x,y,color,subscripts,groups,...) { panel.barchart(x=x,y=y,box.ratio=2,col=color,border=FALSE) })) or ... panel.barchart(x=x,y=y,box.ratio=2,col=color,border='transparent') ... or
2012 Mar 20
0
[LLVMdev] Runtime linker issue wtih X11R6 on i386 with -O3 optimization
Hi everybody. I have an odd issue that I'd like to get some advice on. It is a bit of a long story so please bear with me. X11R6 has a notion of modules so it basically compiles everything into shared libraries and at start-of-day it loads libraries (modules) as needed. A side effect of that is that they require really lazy binding because they do (can?) not enforce the load order. The
2006 Nov 12
1
[PATCH] Annotate shapes, text and dbus support
Here are my patches to add extra shapes to the annotate plugin. I have also added dbus support and made a few things configurable. The new tools available are Line, Rectangle and Circle, the original is called Brush. There is no selection line at the moment because I do not understand OpenGL yet. Hopefully these patches can be added and something added later. There is an extra action called
2006 Jan 05
3
problem with using lines command on windows XP machine
Hello, I'm using R version 2.2.0 installed on windows XP machine, with SP2 (maybe it's also interesting to note it's laptop, so it outputs to a laptop screen) a l and I wanted to draw a line in a graph, but it does not seem to work. To test it I use the following code: x = c(-1,0,1) y = c(-1,0,1) plot(x,y, type="l", xlim=c(-1,1), ylim=c(-1,1)) lines(0) If I understand the
2009 Jan 05
2
Sweave data-figure coupling
Hi, With the following Sweave minimal file: ---<--------------------cut here---------------start------------------->--- \documentclass{article} \usepackage{Sweave} \begin{document} <<binom-sim>>= thetas <- seq(0, 1, by=0.001) prior <- rep(1, length(thetas)) / length(thetas) lik <- dbinom(1, 1, thetas) lik.p <- prior * lik post <- lik.p / sum(lik.p)
2024 Jul 18
2
ggplot two-factor legend
Hi I am using ggplot to visualise y for a two-factorial group (Bio: 0 and 1) x = 6 years. I was able to adapt the colour of the lines (green and red) and the linetype (solid and dashed). Challenge: my code produces now two legends. One with the colors for the group and one with the linetype for the group. Does somebody have a hint how to adapt the code to produce one legend? Group 0 = red and