TextNoteEX question

Q&A for C, C++, and/or C# developers using DPlot

Moderator: DPlotAdmin

Post Reply
ecas
Posts: 4
Joined: Sun Feb 08, 2009 7:45 pm

TextNoteEX question

Post by ecas »

hey guys:

i'm trying to send some data from my program as a note to my plotted graph.
i wanted to send 2 doubles , but i don't know how to make it.
i would like a text note like:

Text1 = double1
Text2 = double2


Currently i have this:

[TextNoteEx(\"Text1= \r\n Text2=\",0.1,0.1,0,0,8 )]"

i wanted to add the 2 doubles that i have stored, somthing like:

[TextNoteEx(\"Text1=%f \r\n Text2=%f \",0.1,0.1,0,0,8 )]", double1,double2

is there a way of sending this text using Dplot functions or do i have to use something like sprintf to create the whole string?


Thanks in advance
Post Reply