ggplot2 cumulative percent graph
<p>I am attempting to create a cumulative % graph so that all the values = 100% on the y axis.</p>

<p>Here is the code:</p>

<pre><code>dmScat &lt;- data.frame(c(0,1,2,3,4,5,6))

colnames(dmScat) &lt;- c("c")

ggplot(dmScat,
       aes(x=sort(c),
           y=1:length(c)),)+
  geom_point(shape=1, colour = "Orange")+
  labs(x="DM %",y="Cumulative %")+
  scale_y_continuous(labels = percent)
</code></pre>

<p>I just want it to be 0% to 100% for all data.</p>

<p>Cheers,</p>