Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
plotID_matlab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
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
plotID
plotID_matlab
Commits
a83da037
Commit
a83da037
authored
3 years ago
by
M. Hock
Browse files
Options
Downloads
Patches
Plain Diff
fix runtest.ps1 unfinished statement
parent
7f0a545d
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!13
PreRelease_V0.1
,
!12
PreRelease_V0.1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CI_files/runtest.ps1
+0
-2
0 additions, 2 deletions
CI_files/runtest.ps1
PlotID_Demo.m
+8
-3
8 additions, 3 deletions
PlotID_Demo.m
example.m
+3
-3
3 additions, 3 deletions
example.m
with
11 additions
and
8 deletions
CI_files/runtest.ps1
+
0
−
2
View file @
a83da037
...
...
@@ -4,8 +4,6 @@ $LOGFILE="log2.txt"
$arguments
=
"-nodesktop"
,
"-nosplash"
,
"-minimize"
,
"-wait"
,
"-logfile
$LOGFILE
"
,
"-r"
,
"runner_test"
$Returnvalue
=
&
'C:\Program Files\MATLAB\R2021b\bin\matlab.exe'
$arguments
$mfile
=
CODE
=
$?
cat
$Returnvalue
;
...
...
This diff is collapsed.
Click to expand it.
PlotID_Demo.m
+
8
−
3
View file @
a83da037
...
...
@@ -28,7 +28,7 @@ y1 = sin(x1)+.5*sin(2*x1)+2;
% define file path & name
fpath
=
full
e
file
(
pwd
,
"./testdata2.h5"
);
fpath
=
fullfile
(
pwd
,
"./testdata2.h5"
);
dataset2
=
fullfile
(
pwd
,
'testdata2.h5'
);
% create hdf5 file and dataset > write data to hdf5 file / dataset
...
...
@@ -48,7 +48,7 @@ box off; hold on;
plot
(
x1
,
y1
,
'-k'
);
set
(
gca
,
'TickDir'
,
'out'
,
'YLim'
,
[
0
,
4
],
'YTick'
,[
0
:
1
:
4
],
'XLim'
,[
0
,
6
]);
%fstplt.setfiguresize('1/2ppt16:9');
fstplt
.
pimpplot
;
%
fstplt.pimpplot;
%% Example 1: single plot based on two data-sets
...
...
@@ -66,4 +66,9 @@ path.script = mfilename('fullpath'); % filename of the m.script
% file names of the datasets
path
.
rdata
=
{
dataset1
,
dataset2
}
;
% don't forget the extension
PlotID
.
Publish
(
path
,
ID
,
fig
(
1
),
'Location'
,
'local'
,
'Method'
,
'individual'
)
\ No newline at end of file
PlotID
.
Publish
(
path
,
ID
,
fig
(
1
),
'Location'
,
'local'
,
'Method'
,
'individual'
)
%% End
This diff is collapsed.
Click to expand it.
example.m
+
3
−
3
View file @
a83da037
...
...
@@ -18,7 +18,7 @@ end
% otherwise dialogue?
% Leave empty for using the ID from the config file
ProjectID
=
''
;
ProjectID
=
'
FST03
'
;
%% Data
...
...
@@ -81,7 +81,7 @@ path.script = mfilename('fullpath'); % filename of the m.script
% file names of the datasets
path
.
rdata
=
{
dataset1
,
dataset2
}
;
% don't forget the extension
PlotID
.
Publish
(
path
,
ID
,
fig
(
1
),
'Location'
,
'local'
,
'Method'
,
'
centralized
'
)
PlotID
.
Publish
(
path
,
ID
,
fig
(
1
),
'Location'
,
'local'
,
'Method'
,
'
individual
'
)
%% Example 2: multiple plots plot, all based on data-set2 (hdf5)
% for individual data-sets, use an appropriate array
...
...
@@ -102,7 +102,7 @@ path.rdata = {dataset2} ; % don't forget the extension
% publsihing via for-loop
for
i
=
1
:
numel
(
fig
)
PlotID
.
Publish
(
path
,
IDs
{
i
},
fig
(
i
),
'Location'
,
'
local
'
,
'Method'
,
'
centralized
'
);
PlotID
.
Publish
(
path
,
IDs
{
i
},
fig
(
i
),
'Location'
,
'
server
'
,
'Method'
,
'
individual
'
);
end
%% Second Plot with identical data to test centralized method
...
...
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