Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Frida
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coenen, Joachim
Frida
Commits
8db9c2a9
Commit
8db9c2a9
authored
15 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
restore graph dialog
parent
02386a74
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pub/src/dualplot.h
+1
-1
1 addition, 1 deletion
pub/src/dualplot.h
pub/src/frida2.cpp
+13
-1
13 additions, 1 deletion
pub/src/frida2.cpp
with
14 additions
and
2 deletions
pub/src/dualplot.h
+
1
−
1
View file @
8db9c2a9
...
...
@@ -38,6 +38,7 @@ class CPlot {
CPlot
(
uint
_iPlot
,
bool
_logx
,
bool
_logy
);
void
gp_write
(
string
);
void
clearFrame
();
void
plotFrame
(
string
xlabel
,
string
ylabel
);
void
addSpec
(
bool
as_line
,
int
style_no
,
...
...
@@ -53,7 +54,6 @@ class CPlot {
private:
int
gp_fifo
;
void
gp_write
(
string
);
int
gp_fno
;
string
gp_fnames
;
...
...
This diff is collapsed.
Click to expand it.
pub/src/frida2.cpp
+
13
−
1
View file @
8db9c2a9
...
...
@@ -14,8 +14,10 @@
#include
"mystd.h"
#include
"olm.h"
#include
"expr.h"
// for NCalc
#include
<ask_simple_value.h>
#include
"readln.h"
#include
<readln.h>
#include
"dualplot.h"
#include
"opr.h"
#include
"edif.h"
...
...
@@ -285,6 +287,7 @@ int main()
" gp plot to complete .ps file
\n
"
" gf plot to short .psX file
\n
"
" gw list of plot windows
\n
"
" gd graphic dialog (feed commands to gnuplot)
\n
"
" g<n> switch to plot window <n>
\n
"
" p plot
\n
"
" pp plot with new autoranges
\n
"
...
...
@@ -332,6 +335,15 @@ int main()
Plots
.
push_back
(
new
CPlot
(
nPlot
++
,
false
,
false
)
);
}
else
throw
string
(
"invalid graphic window number"
);
}
else
if
(
cmd
==
"gd"
)
{
// graph dialog
string
cmd
;
cout
<<
"entering mygnuplot - to leave, type q
\n
"
;
while
(
1
)
{
cmd
=
sask
(
"mygnuplot> "
);
if
(
cmd
.
substr
(
0
,
1
)
==
"q"
)
break
;
Plots
[
iPlot
]
->
gp_write
(
cmd
);
}
}
else
if
(
cmd
==
"p"
)
{
NPlot
::
Plot
(
Plots
[
iPlot
],
0
);
}
else
if
(
cmd
==
"pp"
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment