Setting default parameters

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

Moderator: DPlotAdmin

Post Reply
acogbill
Posts: 3
Joined: Sun Feb 03, 2008 12:42 pm

Setting default parameters

Post by acogbill »

I can set default parameters using the /s switch on the command line. However, it seems that any parameters set in such a manner are used for the first DPLOT graph [of the session], but then forgotten for any subsequent graphs created in that session. I would find it convenient to use the parameters specified using the /s switch for all graphs created during a particular session -- otherwise, I have to keep reading the setting using the File-->Get Preferences menu.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Thanks for the suggestion. I'll do one of two things:

1) If /s is specified on the command line then treat that settings file as if it is default.set (if you aren't aware of it, DPlot checks for a preferences file named default.set in %APPDATA%\DPlot\Preferences when creating a new plot and uses those settings if it exists.

2) Umm... something different, probably a different command line switch that does what's mentioned above. I'm not sure it would be appropriate to modify how an existing switch works.
Visualize Your Data
support@dplot.com
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

I forgot to chime in here when this change was made. If you missed it, the feature you want (/sp <filename> on the command line) was added in version 2.1.5.6

Thanks for your input.
Visualize Your Data
support@dplot.com
Post Reply