Plotting XY plots automatically from *.csv files

Beta releases, announcements and anything else that doesn't fit below. Please read the <B>Welcome</B> topic.

Moderator: DPlotAdmin

Post Reply
pinkstaffp
Posts: 3
Joined: Wed Nov 26, 2008 12:56 pm
Location: Lovinia, MI 48154
Contact:

Plotting XY plots automatically from *.csv files

Post by pinkstaffp »

I have been experimenting with macros. I used this code:

Directory(".\")

FileType(4)

ForFilesIn("*.csv",A)

NextFile

to acceess several *.csv files, but I always get Specify Columns to Plot
window in which I must click OK. See http://72.22.89.232/specify_columns_to_ ... 00_edt.png for an example of the window. The plots are all XY plots.
How do I tell Dplot, with macros, to go ahead and plot. Here is my results
http://72.22.89.232/macro_testing_start ... cro_04.png achieved by clicking OK for each file. The scribble is all the *.csv files plotted. While I am at it here is my learning macro: http://72.22.89.232/macro_testing_text.txt, which started with the graph paper macro.


Thanks,

Paul Pinkstaff[/b][/code]
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

"How do I tell Dplot, with macros, to go ahead and plot."

You can't. But that's a good suggestion for the next release. In the meantime, open a file manually and uncheck the "Pick Columns to Plot" box. The setting is persistent, so next time you run your macro you won't be prompted.
Visualize Your Data
support@dplot.com
Post Reply