Re: [R] Shaded area

2023-03-12 Thread Jim Lemon
> > See eg. > > https://www.geeksforgeeks.org/how-to-shade-a-graph-in-r/ > > > > Cheers Petr > > > > -Original Message- > > From: R-help On Behalf Of George Brida > > Sent: Wednesday, March 1, 2023 3:21 PM > > To: r-help@r-project.org >

Re: [R] Shaded area

2023-03-03 Thread John Kane
eks.org/how-to-shade-a-graph-in-r/ > > Cheers Petr > > -Original Message- > From: R-help On Behalf Of George Brida > Sent: Wednesday, March 1, 2023 3:21 PM > To: r-help@r-project.org > Subject: [R] Shaded area > > Dear R users, > > I have an xlsx fil

Re: [R] Shaded area

2023-03-01 Thread PIKAL Petr
Brida Sent: Wednesday, March 1, 2023 3:21 PM To: r-help@r-project.org Subject: [R] Shaded area Dear R users, I have an xlsx file (attached to this mail) that shows the values of a "der" series observed on a daily basis from January 1, 2017 to January 25, 2017. This series is strictly

[R] Shaded area

2023-03-01 Thread George Brida
Dear R users, I have an xlsx file (attached to this mail) that shows the values of a "der" series observed on a daily basis from January 1, 2017 to January 25, 2017. This series is strictly positive during two periods: from January 8, 2017 to January 11, 2017 and from January 16, 2017 to January 2

Re: [R] shaded area between a curve and a circle

2022-10-23 Thread Jinsong Zhao
The figure is not ok. The coordinate of the normal curve is not the same as that of the circle. In fact, there are only four intersections other than eight that your figure show. Best, Jinsong On 2022/10/23 3:05, L... L... wrote: Dear, I have a picture in which I draw a circle over the stand

Re: [R] shaded area between a curve and a circle

2022-10-23 Thread Uwe Ligges
The points on your density curve can be written as (x, f(x)) - well, if you had not divided by its max value which I do not understand why. Now you simply need to find out which of these points have a distance of the circle's radius to the point (0,0). Hmmm, your "circle" has a radius of 2 in

[R] shaded area between a curve and a circle

2022-10-22 Thread L... L...
Dear, I have a picture in which I draw a circle over the standard normal curve. See below the lines used to draw the figure. The figure is ok, but my problem is: How to shade the areas A, B, C, D, E and F? I know I have to find the points of intersection but I don't know how to find them. Sugges

Re: [R] shaded area with polygon

2018-06-11 Thread William Dunlap via R-help
Does polygon(c(x,rev(x)), c(y, rev(z)), col="orange") do what you want? Bill Dunlap TIBCO Software wdunlap tibco.com On Mon, Jun 11, 2018 at 12:35 PM, L... L... wrote: > Dear All, I know this is a trivial question .. but .. I want to shade the > area between 2 curves. For example: > > x <- 1:

[R] shaded area graph and extra plot

2008-02-14 Thread Luis Ridao Cruz
R-help, I'm using the code below to plot a shaded area graph. At the same time I want to plot a second series on the y-axis (from par(new=T) on) but as the two series have different x-axis range (first 1994:2007 and second 1996:2007) the corresponding x's do not match. How can this be sorted ou

Re: [R] shaded area graph and extra plot

2008-02-12 Thread jim holtman
Use 'xlim=c(1993,2008)' in your second plot to setup the same range. On Feb 12, 2008 10:39 AM, Luis Ridao Cruz <[EMAIL PROTECTED]> wrote: > R-help, > > I'm using the code below to plot a shaded area graph. > > At the same time I want to plot a second series on the y-axis (from > par(new=T) on) > b

[R] shaded area graph and extra plot

2008-02-12 Thread Luis Ridao Cruz
R-help, I'm using the code below to plot a shaded area graph. At the same time I want to plot a second series on the y-axis (from par(new=T) on) but as the two series have different x-axis range (first 1994:2007 and second 1996:2007) the corresponding x's do not match. How can this be sorted ou