Note that there are some explanatory texts on larger screens.

plurals
  1. POR igraph partially filled vertex
    text
    copied!<p>Given a vector of fractions(on the domain [0:1]), I want to plot the vertex just partially filled. I.e. if the fraction is 1/2 the corresponding vertex should be half-filled(half-sphere) I.e. if the fraction is 1/4 the corresponding vertex is only in one quarter (quarter-sphere) and so forth...</p> <pre><code>library('igraph') N &lt;- 10 g &lt;- graph.full(N) values &lt;- runif(N,0,1) # vector of fractions V(g)$shape &lt;-'circle' plot.igraph(g,...) </code></pre> <p>for example: <a href="http://www.google.ch/imgres?q=three+quarter-filled+circle&amp;um=1&amp;hl=de&amp;sa=N&amp;biw=1024&amp;bih=751&amp;tbm=isch&amp;tbnid=fCz7FZ6JG38DzM:&amp;imgrefurl=http://www.clipartstation.com/clipart_indexer4/index/search%3Fkeywords%3DART&amp;docid=UPphGFugM1pYGM&amp;imgurl=http://www.clipartstation.com/clipart/resized/Math/Transformations/__100x100//three%252520quarters%252520blue%252520circle.gif&amp;w=100&amp;h=99&amp;ei=ETsNUNDeHbCL4gTT5rjACg&amp;zoom=1&amp;iact=rc&amp;dur=331&amp;sig=101088608959992434501&amp;page=1&amp;tbnh=79&amp;tbnw=80&amp;start=0&amp;ndsp=24&amp;ved=1t:429,r:8,s:0,i:97&amp;tx=49&amp;ty=38" rel="nofollow">http://www.google.ch/imgres?q=three+quarter-filled+circle&amp;um=1&amp;hl=de&amp;sa=N&amp;biw=1024&amp;bih=751&amp;tbm=isch&amp;tbnid=fCz7FZ6JG38DzM:&amp;imgrefurl=http://www.clipartstation.com/clipart_indexer4/index/search%3Fkeywords%3DART&amp;docid=UPphGFugM1pYGM&amp;imgurl=http://www.clipartstation.com/clipart/resized/Math/Transformations/__100x100//three%252520quarters%252520blue%252520circle.gif&amp;w=100&amp;h=99&amp;ei=ETsNUNDeHbCL4gTT5rjACg&amp;zoom=1&amp;iact=rc&amp;dur=331&amp;sig=101088608959992434501&amp;page=1&amp;tbnh=79&amp;tbnw=80&amp;start=0&amp;ndsp=24&amp;ved=1t:429,r:8,s:0,i:97&amp;tx=49&amp;ty=38</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload