Skip to content

Commit

Permalink
Add longoptions support for subplot. (#8369)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbdavis committed Feb 25, 2024
1 parent de507ff commit 0382ba9
Showing 1 changed file with 15 additions and 27 deletions.
42 changes: 15 additions & 27 deletions src/longopt/subplot_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,38 +25,26 @@ static struct GMT_KEYWORD_DICTIONARY module_kw[] = {
short_directives, long_directives,
short_modifiers, long_modifiers,
transproc_mask */
{ 0, 'A', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'C', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'D', "",
"", "",
{ 0, 'A', "autolabel",
"", "",
"c,g,j,J,o,p,r,R,s,v",
"clearance,fill,justify|anchor,mirror,offset,pen,roman,Roman,shaded,vtag|vertical",
GMT_TP_STANDARD },
{ 0, 'F', "",
"", "",
{ 0, 'C', "clearance",
"w,e,s,n,x,y", "w|west,e|east,s|south,n|north,x,y",
"", "",
GMT_TP_STANDARD },
{ 0, 'D', "defaults", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'F', "dimensions|dims",
"f,s", "overall|figsize,subplot|subsize|panels",
"a,c,f,g,p,w", "scale,expand,fractions|frac,fill,perimeter|outline,dividers|divlines",
GMT_TP_STANDARD },
{ 0, 'S', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'M', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'N', "",
"", "",
"", "",
GMT_TP_STANDARD },
{ 0, 'T', "",
"", "",
"", "",
{ 0, 'M', "margins", "", "", "", "", GMT_TP_STANDARD },
{ 0, 'S', "share",
"r,c", "rows|y,columns|x",
"l,s,p,t", "label,label2,parallel,row_title",
GMT_TP_STANDARD },
{ 0, 'T', "title", "", "", "", "", GMT_TP_STANDARD },
{ 0, '\0', "", "", "", "", "", 0 } /* End of list marked with empty option and strings */
};
#endif /* !SUBPLOT_INC_H */

0 comments on commit 0382ba9

Please sign in to comment.