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
762fd00c
Commit
762fd00c
authored
3 years ago
by
M. Hock
Browse files
Options
Downloads
Patches
Plain Diff
Fixxed QR Code size option not having any effect as well as scaling for the axes object
parent
fb67ed5f
No related branches found
No related tags found
No related merge requests found
Pipeline
#667045
failed
3 years ago
Stage: Testing
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
+PlotID/TagPlot.m
+5
-5
5 additions, 5 deletions
+PlotID/TagPlot.m
with
5 additions
and
5 deletions
+PlotID/TagPlot.m
+
5
−
5
View file @
762fd00c
...
...
@@ -26,7 +26,7 @@ arguments
options
.
ConfigFileName
(
1
,:)
{
mustBeText
}
=
'config.json'
options
.
PinToLegend
(
1
,
1
)
{
mustBeNumericOrLogical
}
=
false
% Pins ID on Legend
options
.
QRcode
(
1
,
1
)
{
mustBeNumericOrLogical
}
=
false
%experimental
options
.
QRsize
(
1
,
1
)
{
mustBe
Nonnegative
}
=
0.
15
% size of the QRCode
options
.
QRsize
(
1
,
1
)
{
mustBe
Integer
}
=
15
0
% size of the QRCode
end
if
isempty
(
options
.
ProjectID
)
...
...
@@ -108,11 +108,11 @@ for n = 1:numel(figs)
if
options
.
QRcode
% this should be seen and use as a proof of concept
qrCode
=
PlotID
.
plotQR
(
IDs
{
n
});
size
=
options
.
QRsize
;
axes
(
'Position'
,[
position
(
1
)
-.
05
position
(
2
)
+
0.1
size
size
]);
qrCode
=
PlotID
.
plotQR
(
IDs
{
n
}
,[
options
.
QRsize
,
options
.
QRsize
]
);
size
=
options
.
QRsize
/
1000
;
qraxes
=
axes
(
'Position'
,[
position
(
1
)
-.
1
position
(
2
)
+
0.1
size
size
]);
imshow
(
qrCode
);
t
.
Visible
=
'off'
;
t
.
Visible
=
'off'
;
% Set text ID to invisible
end
...
...
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