View previous topic :: View next topic |
Author |
Message |
pomalle
Joined: 18 Feb 2009 Posts: 8
|
Posted: Mon Jun 21, 2010 8:29 am Post subject: copying the legend with a NEWDOCUMENT plugin |
|
|
Is there a way to copy the legend from the existing dplot document into the new document when a PLUGIN_NEWDOCUMENT plugin is used? Same for the titles? I can't seem to figure out a way to make the new document look like the existing one (aside from the modified data, of course.) Thanks! |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2311 Location: Vicksburg, Mississippi
|
Posted: Mon Jun 21, 2010 1:24 pm Post subject: |
|
|
It does this by default. Unless you're zero'ing out the DPlot structure within your plugin or otherwise replacing the legend entries, that's the behavior you should get. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
pomalle
Joined: 18 Feb 2009 Posts: 8
|
Posted: Mon Jun 21, 2010 1:43 pm Post subject: |
|
|
That's interesting. I don't touch the dplot structure other than to read values from it. When i run the plugin, the new document looks exactly the same as the original except for the legend which disappears and the trace colors get changed or reset. |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2311 Location: Vicksburg, Mississippi
|
Posted: Mon Jun 21, 2010 1:52 pm Post subject: |
|
|
You're welcome to send me the source for your plugin, and I'll see if anything hops out at me. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
|