Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
artoa4argo
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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
argoTools
artoa4argo
Commits
954b3a94
Commit
954b3a94
authored
4 years ago
by
leprob001
Browse files
Options
Downloads
Patches
Plain Diff
The default limits of the trajectory plot can now be set in the artoa.ini file.
parent
ccba45ec
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
VERSION
+1
-1
1 addition, 1 deletion
VERSION
artoa.ini.example
+4
-0
4 additions, 0 deletions
artoa.ini.example
lib/+artoa/+controller/+track/+trajectoryOutput/plot.m
+11
-1
11 additions, 1 deletion
lib/+artoa/+controller/+track/+trajectoryOutput/plot.m
with
16 additions
and
2 deletions
VERSION
+
1
−
1
View file @
954b3a94
276
\ No newline at end of file
277
\ No newline at end of file
This diff is collapsed.
Click to expand it.
artoa.ini.example
+
4
−
0
View file @
954b3a94
...
...
@@ -48,6 +48,10 @@
-hidedeleteddatapoints 0
-toapointsize 18
[trajectoryOutput]
-limitlat -72 -66
-limitlon -55 -15
[defaults]
-pressure 9999
-temperature 9999
...
...
This diff is collapsed.
Click to expand it.
lib/+artoa/+controller/+track/+trajectoryOutput/plot.m
+
11
−
1
View file @
954b3a94
...
...
@@ -2,7 +2,7 @@ function [] = plot(pPlotAsMap)
%PLOT Summary of this function goes here
% Detailed explanation goes here
global
artoaGui
artoaWorkspace
;
global
artoaGui
artoaWorkspace
artoaConfig
;
%% Parameter check
if
nargin
==
0
...
...
@@ -178,5 +178,15 @@ if artoa.data.hasMember(artoaWorkspace, 'trajectoryOutput', 'showTopographicalLi
artoaGui
.
trajectoryOutput
.
contourTopographicalLines
=
artoa
.
controller
.
track
.
trajectoryOutput
.
plotTopographicalLines
(
artoaGui
.
trajectoryOutput
.
axesTrajectoryOutput
);
end
%% Set axes limits to artoa.ini if not selected manual
if
~
strcmp
(
artoaGui
.
trajectoryOutput
.
axesTrajectoryOutput
.
YLimMode
,
'manual'
)
...
&
artoa
.
data
.
hasMember
(
artoaConfig
,
'trajectoryOutput'
,
'limitlat'
)
artoaGui
.
trajectoryOutput
.
axesTrajectoryOutput
.
YLim
=
artoaConfig
.
trajectoryOutput
.
limitlat
;
end
if
~
strcmp
(
artoaGui
.
trajectoryOutput
.
axesTrajectoryOutput
.
XLimMode
,
'manual'
)
...
&
artoa
.
data
.
hasMember
(
artoaConfig
,
'trajectoryOutput'
,
'limitlon'
)
artoaGui
.
trajectoryOutput
.
axesTrajectoryOutput
.
XLim
=
artoaConfig
.
trajectoryOutput
.
limitlon
;
end
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