DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Adding extra notes into a .grf file

 
Post new topic   Reply to topic    DPlot Forum Index -> General discussion
View previous topic :: View next topic  
Author Message
mikeb



Joined: 18 Aug 2004
Posts: 36

PostPosted: Tue Nov 10, 2020 4:55 pm    Post subject: Adding extra notes into a .grf file Reply with quote

David,
Since .grf files are ASCII text, can I store/insert my own notes into a .grf file?
As a test, I copied Z-axis text from a contour plot .grf and pasted the 'Y2Axis' and following title text line into a 1D line scan .grf before the 'STOP' line, and it didn't seem to adversely affect it.

Are there any keywords that I should use or avoid?
Does it matter if I add it before or after the "STOP" ? Would any text appended after STOP be safe/acceptable?

I am trying to capture user annotations to store with the data files as they are collected.
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2296
Location: Vicksburg, Mississippi

PostPosted: Wed Nov 11, 2020 8:40 am    Post subject: Reply with quote

Quote:
Are there any keywords that I should use or avoid?


Those listed here: https://www.dplot.com/help/index.htm?dplotfilemiscellaneousidentifiers.htm shouldn't be used.

Quote:
Does it matter if I add it before or after the "STOP" ?

After is better, Otherwise you may get an "unrecognized keyword" error.

Quote:
Would any text appended after STOP be safe/acceptable?

Yes. What you're doing is the reason it was added.
_________________
David Hyde
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mikeb



Joined: 18 Aug 2004
Posts: 36

PostPosted: Wed Nov 11, 2020 9:24 am    Post subject: Reply with quote

Perfect!
So Y2Axis is a recognized keyword, even though the graph type doesn't use it.
Thanks!
mike
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> General discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group