|
From: James00007 <ach...@gm...> - 2010-05-12 07:50:54
|
Hi, I need to display the value of a fitted parameter on the graph itself. I was able to do this *within gnuplot* using: set label 'm = %3.5f',m at 1600, 100 However, when I try to do the same thing *from within a C++ program*, I can never get the correct value displayed. The value always differs. I`m using: fprintf(gnuplot, "set label 'm = %3.5f', m at 1600, 100\n"); in the C++ program. I have worked it out that the problem lies with the format specifier %3.5f and I have exhausted ALL possibilities possible but nothing I do displays the correct value. Can someone please help me out? Thanks in advance! -- View this message in context: http://old.nabble.com/Help-needed-with-labels.-tp28532631p28532631.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |