|
![](/i/fill.gif) |
Reuben Pearse <reu### [at] pearse co uk> wrote:
> Hi all,
>
> I was wondering if anyone had used POV-Ray to create graphs or charts
> (bar graphs and pie charts). I would like to be able to automate the
> creation graph images on a webserver. I know there are lots of graphing
> tools out there which provide this kind of functionality (i.e.
> ploticus), but creating graphs in POV-Ray would be so much cooler!
>
> Thanks in advance
>
> Reuben
> reu### [at] pearse co uk
Try this, taken found at Dr. A. Filler's homepage :
http://www.ph-heidelberg.de/wp/filler/
#declare Font1="cyrvetic.ttf";
#declare ks5 =
union{ // X-Achse
cylinder{-x*8,x*7.5,.1}
cone{ x*8.5,0, x*7.5,.25}
#declare Count=-8;
#while (Count < 8)
sphere {<Count,0,0>, .20}
#declare Count=Count+1;
#end
cylinder{-y*8,y*7.5,.1}
cone{ y*8.5,0, y*7.5,.25}
#declare Count=-8;
#while (Count < 8)
sphere {<0,Count,0>, .20}
#declare Count=Count+1;
#end
cylinder{-z*8,z*7.5,.1}
cone{ z*8.5,0, z*7.5,.25}
#declare Count=-8;
#while (Count < 8)
sphere {<0,0,Count>, .20}
#declare Count=Count+1;
#end
text{ttf Font1 "x",0.1,0 scale <1.5,1.5,1.5> translate <7.9,-1.2,0>}
text{ttf Font1 "y",0.1,0 scale <1.5,1.5,1.5> translate <-1,7.7,0>}
text{ttf Font1 "z",0.1,0 scale <1.5,1.5,1.5> translate <-1,-0.2,7.8>}
texture {
pigment { rgb<0.1,0.1,0.5> }
finish { ambient 0.1 diffuse 0.4 reflection 0.2 brilliance 1 specular
0.3 roughness 0.2 }
}
no_shadow
}
ks5
Post a reply to this message
|
![](/i/fill.gif) |