Looks like you've swapped x and y.

Sarah

On Friday, June 1, 2012, David Winsemius wrote:

>
> On Jun 1, 2012, at 4:09 PM, jcrosbie wrote:
>
>  I can not get the point function to work with in my code.
>>
>> The code:
>>
>>  AggOfTempMatrix$**CumSumPercentSize<-c(
>> 0.05265450, 0.05738490, 0.05865403, 0.05911553, 0.05957703, 0.06003854,
>> 0.06058368,
>> 0.06098750, 0.06147208, 0.06187589, 0.06291427, 0.06331808, 0.06354884,
>> 0.06408533,
>> 0.06489296, 0.07382014, 0.07397590, 0.08124456, 0.08228294, 0.08274444,
>> 0.08283097,
>> 0.08306172, 0.08349438, 0.08372513, 0.08412894, 0.08435969, 0.08453276,
>> 0.08491350,
>> 0.08570382, 0.08599226, 0.08749791, 0.08831131, 0.08848437, 0.08954582,
>> 0.09058420,
>> 0.09069958, 0.09112358, 0.09123896, 0.11087010, 0.11410062, 0.15309754,
>> 0.20017364,
>> 1.00000000)
>>
>> AggOfTempMatrix$Price<-c(
>> 0.00,  71.35,  72.00,  74.00,  75.00,  76.00,  84.24,  87.00, 88.00,
>>  90.24,
>> 91.00,
>> 94.22,  96.00,  98.00, 100.25, 121.00, 246.12, 272.44, 273.00, 295.00,
>> 435.00, 455.14,
>> 460.00, 475.00, 586.00, 591.00, 609.00, 622.00, 656.00, 750.00, 789.16,
>> 798.00, 813.00,
>> 834.00, 850.00, 895.00, 904.00, 915.00, 916.00, 924.00, 950.00, 996.66,
>> 999.24)
>>
>> plot(AggOfTempMatrix$Price, AggOfTempMatrix$**CumSumPercentSize,
>> type="l",
>> main = mainTitle, xlab=xAxislable, ylab=yAxislable, lwd=5)
>> points(x=0.5, y =300, col="darkred",pch=12) #this wont plot
>>
>>
> Your y range is from 0 to 1. Why would you expect to see that point?
>
>  --
>> View this message in context: http://r.789695.n4.nabble.com/**
>> points-function-will-not-plot-**tp4632135.html<http://r.789695.n4.nabble.com/points-function-will-not-plot-tp4632135.html>
>> Sent from the R help mailing list archive at Nabble.com.
>>
>> ______________________________**________________
>> R-help@r-project.org mailing list
>> https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help>
>> PLEASE do read the posting guide http://www.R-project.org/**
>> posting-guide.html <http://www.R-project.org/posting-guide.html>
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
> David Winsemius, MD
> Heritage Laboratories
> West Hartford, CT
>
> ______________________________**________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help>
> PLEASE do read the posting guide http://www.R-project.org/**
> posting-guide.html <http://www.R-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>


-- 
Sarah Goslee
http://www.stringpage.com
http://www.sarahgoslee.com
http://www.functionaldiversity.org

	[[alternative HTML version deleted]]

