Using the the graphing plugin I can take values from other tiddlers to be used in the graph.
Currently, I’m having to use some JS to do the equations but I’d like to use Evans Formula Plugin.
The usage can be seen below but JS maths is horrible!
So instead of
Math.pow(x,2)*parseFloat($tw.wiki.getTiddlerText('qa'))+x*parseFloat($tw.wiki.getTiddlerText('qb'))+parseFloat($tw.wiki.getTiddlerText('qc'))"
for a quadratic formula I’d like to be able to write (= x^2*{{qa}}+x*{{qb}}+{{qc}} =)
is this achievable?
I’d also settle for something a bit simpler!
<$graph color='blue' thickness='1' minX="-10" maxX="10" minY="-10" maxY="10" width='500' height='300' unitsPerTick= "2"
equation="Math.pow(x,2)*parseFloat($tw.wiki.getTiddlerText('qa'))+x*parseFloat($tw.wiki.getTiddlerText('qb'))+parseFloat($tw.wiki.getTiddlerText('qc'))">