The Weather Forecasting Forum
http://www.weathergraphics.com/forum/

Data Plot Crowding
http://www.weathergraphics.com/forum/viewtopic.php?f=9&t=963
Page 1 of 1

Author:  jim [ Fri Jun 16, 2006 7:30 pm ]
Post subject:  Data Plot Crowding

Anybody know how to set the Data Plot Crowding value from a script?

Author:  Odaat [ Thu Feb 19, 2009 5:32 pm ]
Post subject: 

Ok... 2 1/2 years later, I have the same question: How can I set station plot density in a script?

Thanks

Author:  Odaat [ Wed Mar 11, 2009 1:06 pm ]
Post subject: 

No one has ever wanted to do this in an automated script station model??!! I don't believe it.

Author:  Joseph Lanza [ Thu Mar 12, 2009 4:23 pm ]
Post subject: 

I don't think you can set data point crowding via a script. "plf" is the standard data plot product code, and there does not seem to be a parameter that controls density. The format I use in my scripts is "product,plf,tmf,0,plot", which basically tells the program to plot ("plot") standard data points ("plf") using fahrenheit ("tmf"); I do not know what function (if any) the "0" serves. I tried changing up its value to different numbers, but it made no difference. Data plot crowding always came out the same, which, in turn, is controlled by the Data Plot Crowding slider in the DA control panel. "Product" in the script simply tells the program to use the designated product code ("plf").

It may be possible to use custom surface plot model using the SPCPLOTMODEL command, but, if so, it's beyond my meager scripting ability to explain.

J. Lanza

Author:  steveg [ Tue Apr 28, 2009 7:56 pm ]
Post subject: 

jim wrote:
Anybody know how to set the Data Plot Crowding value from a script?


Jim, try this:

http://www.wd5eae.org/WG_DAP.html

I wrote and tested this against the Pro version. I'll need a Standard version user to tell me it if works for the Standard edition. Also, if there's anything else that someone wants scriptable, let me know and I'll see what I can do.

Steve

P.S. Thanks Tim and Shannon and thanks for the great software!

Author:  kkyriakou [ Wed Jan 30, 2019 6:42 am ]
Post subject:  Re: Data Plot Crowding

Anybody has the script which steveg mentioned for Data Plot Crowding value because the link http://www.wd5eae.org/WG_DAP.html isn't working

Author:  MMWeather [ Fri Feb 01, 2019 11:44 pm ]
Post subject:  Re: Data Plot Crowding

PRODUCT,PLF,TMC,DWC,0,SURFACE PLOTS

I don't know if this is what was posted on that website, this came from the board.
However, I have played with this and so far have not been able to control plots from a script. Maybe Tim will be able to answer this question?
P19

Author:  Tim Vasquez [ Sun Feb 03, 2019 8:56 pm ]
Post subject:  Re: Data Plot Crowding

I didn't know there was a request for this, but unfortunately I don't get into the scripting forums much. The capability has been added and will take effect with V3.10b.

__________________________________________________________________________________
Added DENSITY scripting command. This controls the Data Plot Crowding slider bar. Usage is DENSITY,position where position equals 0, all the way left (sparse) to 100, all the way right (plot all data).
__________________________________________________________________________________

Definitely e-mail me directly for feature requests as the forums are kind of an indirect method of contact.

Tim

Author:  MMWeather [ Wed Mar 06, 2019 9:44 pm ]
Post subject:  Re: Data Plot Crowding

And a big thanks to Tim for adding this now I don't have to play with the slider for density at alt, then surf and different sized maps!!!!!
And when it is changed that change will stay in place until you change it again, by script or slider!!! Took me a while to figure out where the density,# went in script...for those like me, here it is:

ERASE
analyze,FILL COLOR=167:000:255 FILS=0 GRTN=-10 FILL COLOR=249:000:249 FILS=0 GRTN=-20 degf TEMP h700
analyze,FILL COLOR=003:234:249 FILS=0 GRTN=15 FILL COLOR=000:088:255 FILS=0 GRTN=10 FILL COLOR=255:255:230 FILS=0 GRTN=5 FILL COLOR=039:000:255 FILS=0 GRTN=0
analyze,FILL COLOR=255:168:000 FILS=0 GRTN=35 FILL COLOR=252:218:001 FILS=0 GRTN=30 FILL COLOR=210:249:003 FILS=0 GRTN=25 FILL COLOR=104:253:046 FILS=0 GRTN=20
analyze,OVER FILL COLOR=214:115:134 FILS=0 GRTN=55 FILL COLOR=183:050:069 FILS=0 GRTN=50 FILL COLOR=190:026:001 FILS=0 GRTN=45 FILL COLOR=255:099:000 FILS=0 GRTN=40
analyze,cont cint=5 color=255:100:100
ANALYZE,cont cint=60 line=2 hght h700
density,100
product,plf,700,plot
density,84
STAMP

P19

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/