I have found that when $gt is a GraphTool, I can use the following in PGML:
The answer is: [@ MODES( TeX => $gt, HTML => $gt->cmp()->{rh_ans}{correct_ans_latex_string}) @]*
and in HTML it shows the correct answer graph (although with a CSS width applications that makes it seem compressed). As probably comes as no surprise, it does not work to do this and also display the correct answer graph in the results table at the same time.
I'm only doing this in certain SOLUTION blocks when it's nice to show the correct solution graph following some sort of explanation of how you would construct it. I could build the correct answer graph manually using PGlateximage.pl, but it feels like that shouldn't be necessary.
Is there a method that is less hackish for accomplishing the same thing? Would it make sense for the TeX method of a GraphTool object to produce the correct answer graph? (Right now it makes things like `\left\{\text{interval}, \left[-2,\infty \right)\right\}` which is a LaTeX-y version of what the string method makes.