Deleting/Modifying Text Notes via DDE Interface

Have a suggestion for improving DPlot or a question about existing features? Let us know

Moderator: DPlotAdmin

Post Reply
raswaim
Posts: 69
Joined: Thu Jan 06, 2005 3:43 pm
Location: Houston, TX

Deleting/Modifying Text Notes via DDE Interface

Post by raswaim »

I'm using an external script to drive DPlot, creating individual frames of a data plot animation. I'd like to add notes via TextNoteEx, but having added them, is there a way of deleting/hiding them or modifying the text/position for successive frames?

Best I've been able to do so far is over-write with another note, but there's a limit to how far you can take that, and you can't move the note.... I realize I could probably re-load the plot from scratch for each frame, but that seems a bit clumsy. Other options? Thanks - R
- RAS
raswaim
Posts: 69
Joined: Thu Jan 06, 2005 3:43 pm
Location: Houston, TX

Post by raswaim »

The following might be a relative low impact solution to this problem: I assume you're using an indexed array for note storage... How about one more (optional) parameter in the TextNoteEx command for specifying a note index number (ala curve index)? If the note index already exists, the accompanying data over-writes the parameters for the existing note. Your call on what happens if a non-existent, non-sequential index is passed.
- RAS
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Hmm... there are DeleteLabel and DeleteRefLine commands, but no DeleteNote command. I suppose because nobody has asked before. Easy change, will have it in the next release.

PS: I think you're one that I promised an update this weekend to. Unfortunately that won't happen, mostly due to my new life as soccer dad. I'll get a new version up sometime in the next week.
Visualize Your Data
support@dplot.com
raswaim
Posts: 69
Joined: Thu Jan 06, 2005 3:43 pm
Location: Houston, TX

Post by raswaim »

DeleteNote <#> would work just fine also, and be less restrictive for any future enhancements to TextNoteEx.

No worries here about the update for the other problem, as there is a simple workaround for that issue right now.
- RAS
Post Reply