Bloomberg: Polygon with color transition
thanks for your advices! unfortunately, it doesn't solve my problem. I dynamically generate a PDF-performance-report for many assets and portfolios. So adding a gradient manually would be very inconvenient. The data-connection, calculation and the plot-functions are written in R, so the PHP solution is not an appropriate solution for me. Thanks anyway! Everything works fine - it would be just an optical improvement for our investors... It would be great if anybody has an idea how I can create such a plot directly in R. Best, Alex P.S.: I studied "Management Science" at Vienna University of Economics and Business Administration -----Original Message----- From: Thomas Steiner [mailto:finbref.2006 at gmail.com] Sent: Thursday, 23. August 2007 15:11 To: alexander.wurzer at fin4cast.com Cc: r-sig-finance at stat.math.ethz.ch Subject: Re: [R-SIG-Finance] Bloomberg: Polygon with color transition
thanks for your reply. Can you just explain in more detail how this works? I know the SVG packages, but I have no idea how to implement a graphic like on bloomberg. Maybe you can give me a short example if it's not too time-consuming?
I am busy right now, but perhaps this quick help works ;) * Plot your data with R using the polygone like here (code on this page as well): http://commons.wikimedia.org/wiki/Image:VaR_graph.png * save it as a SVG * add by hand a gradient ( http://de.wikipedia.org/wiki/Gradient_(Grafik) ) eg with Inkscape. I think that you cannot do this directly with the SVG package. If you need further help, let me know, perhaps I find some time on the weekend. BTW: Did you study TM in Vienna? Best Thomas