Skip to content
Snippets Groups Projects
Commit 86a92edd authored by moon's avatar moon
Browse files

chore: support live-editor for showing figures

parent 8f065690
No related branches found
No related tags found
No related merge requests found
......@@ -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 fitted 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
No preview for this file type
<deployment-project plugin="plugin.ezdeploy" plugin-version="1.0">
<configuration build-checksum="2971589683" 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="2502442602" 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>true</param.web.mcr>
<param.package.mcr>false</param.package.mcr>
<param.web.mcr>false</param.web.mcr>
<param.package.mcr>true</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 />
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment