View previous topic :: View next topic |
Author |
Message |
dkabq
Joined: 20 Nov 2017 Posts: 5
|
Posted: Tue Nov 21, 2017 11:19 am Post subject: LegendParams Command |
|
|
I am having an issue with getting the LegendParams command to modify a plot. As a test, I have copied/pasted the example for making the legend background opaque, filled with a light cyan.
DPlot_Command(DocNum, "[LegendParams(,,,1,,,,,0x00FFFFC0)]")
I have DocNum=1, which works for the subsequent DPlot_command
DPlot_Command(DocNum, "[SetBackgroundImage(""d:\dplot_files\image.png"", 1, 1, 0, 0, 0, 0, 1, 150, -1)]")
Thanks for the help. |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2311 Location: Vicksburg, Mississippi
|
Posted: Tue Nov 21, 2017 3:14 pm Post subject: |
|
|
I don't know. That worked fine for me just now when I used it in a macro. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
dkabq
Joined: 20 Nov 2017 Posts: 5
|
Posted: Tue Nov 21, 2017 4:08 pm Post subject: |
|
|
Were you using it in a macro that modifies an XYZ contour plot?
Might the inability of my macro to execute the command be related to the Legends/Labels command being absent from my Text menu command list? It is there when I start DPlot, but vanishes after I create a new 3D surface plot (either manually or via a macro). |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2311 Location: Vicksburg, Mississippi
|
Posted: Tue Nov 21, 2017 4:48 pm Post subject: |
|
|
Quote: | Were you using it in a macro that modifies an XYZ contour plot? |
No, and that's the problem. The legend in 3D plots is quite a bit different than 2D. You can't draw a frame or fill the background or move it to arbitrary locations, for example. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
dkabq
Joined: 20 Nov 2017 Posts: 5
|
Posted: Tue Nov 21, 2017 5:58 pm Post subject: |
|
|
Well that is a bummer, as my legend is overlapping with the plot titles.
You might want to put a note in the User Manual LegendParams macro command stating that which plots the command is and is not valid for. |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2311 Location: Vicksburg, Mississippi
|
Posted: Tue Nov 21, 2017 11:08 pm Post subject: |
|
|
Quote: | Well that is a bummer, as my legend is overlapping with the plot titles. |
That should not ever happen. Please save your graph as a DPlot file and send it to me at support@dplot.com at your convenience. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
|