DEF FNDplot_send_cmd(Cmd$,OPTIONAL Verb_text$,INTEGER Verbose)
!
! Send a DDE command to DPlot
!
! INPUT: Cmd$ = DDE command(s) to be sent to DPlot
! Verb_text$ = Info text for verbose mode to be printed in the screen
! Verbose = >0 if verbose mode is used
FNDplot_send_cmd allows you to send a control command to the DPlot application (see DPlot help file and manual, chapter “Programmer’s Reference -> Executing DPlot commands from another application"), for example scaling, labels, colours and line thickness, grid etc.
Using the FNDplot_send_cmd function you can manipulate your DPlot document in almost every imaginable way. We recommend to look at the source code of the example programs in order to see what is possible.
Commands may be issued in sequence or appended to each other. For example, the following command string opens and prints a DPlot file entitled "TEST.GRF" before causing DPlot to close:
Dummy=FNDplot_send_cmd("[FileOpen(""TEST.GRF"")][FilePrint()][FileExit()]")