Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
inPhase code repository
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
fritsch
inPhase code repository
Commits
86a92edd
Commit
86a92edd
authored
2 years ago
by
moon
Browse files
Options
Downloads
Patches
Plain Diff
chore: support live-editor for showing figures
parent
8f065690
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Data Analysis/plotFitInPhase.m
+9
-6
9 additions, 6 deletions
Data Analysis/plotFitInPhase.m
InPhaseApp.mlapp
+0
-0
0 additions, 0 deletions
InPhaseApp.mlapp
InPhaseApp_1.prj
+3
-5
3 additions, 5 deletions
InPhaseApp_1.prj
inPhase_Live_Script.mlx
+0
-0
0 additions, 0 deletions
inPhase_Live_Script.mlx
with
12 additions
and
11 deletions
Data Analysis/plotFitInPhase.m
+
9
−
6
View file @
86a92edd
...
...
@@ -18,6 +18,8 @@ if exist('axes', 'var')
hold
(
axes
,
'on'
)
else
isAxes
=
0
;
figure
;
hold
on
end
% plot the raw data (used in fit blue, not used red)
...
...
@@ -64,7 +66,7 @@ else
end
end
% plot the fited curve
% plot the fit
t
ed curve
currX
=
0
:
0.01
:
max
(
currX
);
currY
=
dataIn
.
a_slope
.*
currX
+
dataIn
.
b_offset
;
...
...
@@ -73,14 +75,13 @@ if isAxes
else
plot
(
currX
,
currY
,
'-'
,
'Color'
,
colorIn
,
'LineWidth'
,
3
)
axes
=
gca
;
set
(
gcf
,
'Position'
,
[
20
20
800
300
])
end
% label and adjust figure
xlabel
(
axes
,
'Concentration (µM)'
)
ylabel
(
axes
,
'V_{frac}'
)
set
(
axes
,
'Fontsize'
,
18
,
'Tickdir'
,
'out'
,
'LineWidth'
,
3
)
% set(gcf, 'Position', [20 20 800 300])
set
(
axes
,
'linewidth'
,
3
)
prevLim
=
get
(
axes
,
'Xlim'
);
xMax
=
max
([
currX
,
prevLim
]);
...
...
@@ -128,10 +129,12 @@ else
end
end
if
singeData
% hold off
hold
(
axes
,
'off'
)
if
isAxes
hold
(
axes
,
'off'
)
else
hold
off
end
end
end
This diff is collapsed.
Click to expand it.
InPhaseApp.mlapp
+
0
−
0
View file @
86a92edd
No preview for this file type
This diff is collapsed.
Click to expand it.
InPhaseApp_1.prj
+
3
−
5
View file @
86a92edd
<deployment-project plugin="plugin.ezdeploy" plugin-version="1.0">
<configuration build-checksum="2
971589683
" file="D:\Projects\inPhase\inphase-code-repository\InPhaseApp_1.prj" location="D:\Projects\inPhase\inphase-code-repository" name="InPhaseApp_1" preferred-package-location="D:\Projects\inPhase\inphase-code-repository\InPhaseApp_1\for_redistribution" preferred-package-type="package.type.exe" target="target.ezdeploy.standalone" target-name="Application Compiler">
<configuration build-checksum="2
502442602
" file="D:\Projects\inPhase\inphase-code-repository\InPhaseApp_1.prj" location="D:\Projects\inPhase\inphase-code-repository" name="InPhaseApp_1" preferred-package-location="D:\Projects\inPhase\inphase-code-repository\InPhaseApp_1\for_redistribution" preferred-package-type="package.type.exe" target="target.ezdeploy.standalone" target-name="Application Compiler">
<param.appname>InPhaseApp</param.appname>
<param.icon>${PROJECT_ROOT}\InPhaseApp_1_resources\icon.ico</param.icon>
<param.icons>
...
...
@@ -30,8 +30,8 @@ Max Planck Institute of Molecular Cell Biology and Genetics (MPI-CBG)</param.sum
<param.user.defined.mcr.options />
<param.target.type>subtarget.standalone</param.target.type>
<param.support.packages />
<param.web.mcr>
tru
e</param.web.mcr>
<param.package.mcr>
fals
e</param.package.mcr>
<param.web.mcr>
fals
e</param.web.mcr>
<param.package.mcr>
tru
e</param.package.mcr>
<param.no.mcr>false</param.no.mcr>
<param.web.mcr.name>InPhaseAppInstaller_web</param.web.mcr.name>
<param.package.mcr.name>InPhaseAppInstaller_mcr</param.package.mcr.name>
...
...
@@ -66,8 +66,6 @@ Max Planck Institute of Molecular Cell Biology and Genetics (MPI-CBG)</param.sum
<param.user.defined.mcr.options />
<param.target.type />
<param.support.packages />
<param.web.mcr />
<param.package.mcr />
<param.no.mcr />
<param.no.mcr.name />
<param.windows.command.prompt />
...
...
This diff is collapsed.
Click to expand it.
inPhase_Live_Script.mlx
+
0
−
0
View file @
86a92edd
No preview for this file type
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