Friday, March 26, 2010

Google chart API

It was a pleasant surprise for me that google have an API to generate images with formulas using TeX formated strings. This is possible using Google Chart Tools.
You simply write link like this
"http://chart.apis.google.com/chart?cht=tx&chl=J^{*}_{t}=\left(%20j^{*}_{t}(1,1),j^{*}_{t}(1,2),j^{*}_{t}(1,3),%20\frac{\partial^2%20W_1}{\partial%20t^2},\frac{\partial^2%20W_2}{\partial%20t^2},\frac{\partial^2%20W_3}{\partial%20t^2}\right)^T,\\&j^{*}_{t}(1,k)=\left((P^T%20\ddot%20A_{k1}+%20\ddot%20A_{k2})P+2(2P^T%20\dot%20A_{k1}+%20\dot%20A_{k2})\dot%20P+\ddot%20A_{k3}%20\right)"
and get the following png picture:

No comments:

Post a Comment