Skip to content

Commit

Permalink
synch
Browse files Browse the repository at this point in the history
  • Loading branch information
JFL committed Oct 23, 2023
1 parent 7a19238 commit d02f969
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions additionalCode/Grace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,14 @@ void Grace::Line(int dataSet, int Graph)
sendCommand(ss.str());
}

void Grace::linewidth(int dataset, int width, int Graph)
{
if(Graph < 0) Graph = 0;
std::stringstream ss;
ss << "g" << Graph << ".s" << dataset << " linewidth " << width;
sendCommand(ss.str());
}

void Grace::circle(int dataSet, int Graph)
{
if(Graph < 0) Graph = 0;
Expand Down
3 changes: 2 additions & 1 deletion additionalCode/Grace.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ class Grace
void pause() const {char cc; std::cout << "Enter any character to continue: "; std::cin >> cc;}

void noLine(int dataSet, int Graph = -1);
void Line(int dataSet, int Graph = -1);
void Line(int dataSet, int Graph = -1);
void linewidth(int dataset, int width, int Graph = -1);
void circle(int dataSet, int Graph = -1);
void square(int dataSet, int Graph = -1);

Expand Down

0 comments on commit d02f969

Please sign in to comment.