Skip to content

Commit 13c4809

Browse files
committed
Added custom DataTip feature, fixed CLS
CLS had an extra multiply by pi in the sinc function that produced incorrect plots. This has been corrected, with results matching KFCS. DataTips on Plot Traces now display Angle [deg], and linear & dB directional factor values. This is useful for determining beamwidths
1 parent d7fead2 commit 13c4809

38 files changed

+1858
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
SmartPolarPlots/for_redistribution/SmartPolarPlots_InstallerV3_1_MCR.exe
3+
SmartPolarPlots/for_redistribution/SmartPolarPlots_InstallerV3_1_WEB.exe

CITATION.cff

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# This CITATION.cff file was generated with cffinit.
2+
# Visit https://bit.ly/cffinit to generate yours today!
3+
4+
cff-version: 1.2.0
5+
title: SmartPolarPlots
6+
message: >-
7+
If you use this software, please cite it using the
8+
metadata from this file.
9+
type: software
10+
authors:
11+
- given-names: Michael
12+
family-names: Bisbano
13+
14+
affiliation: University of Massachusetts Dartmouth
15+
repository-code: 'https://github.com/mbisbano1/MatlabSmartPolarPlots'
16+
abstract: >-
17+
A handy utility for generating different types of polar
18+
plots for publication, primarily tailored to directivity
19+
plots
20+
license: GPL-3.0
21+
date-released: '2023-03-05'
8.65 KB
Binary file not shown.

HTML/FunctionBankHelp.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ <h4 id="equation-entry-fields">
4040
<strong>Predefined Functions</strong>: Functions that are selected in the Predefined Patterns tab will type in the correct equation here for the user.</li>
4141
<li>
4242
<strong>SINC &amp; JINC</strong>: To use SINC and JINC functions, you must use type them specially, as they are not standard functions in Matlab and as such I had to add my own versions to this app. These functions remove the discontinuity at x == 0. Call these using the app.mysinc(argument) notation.
43-
<ul><li><strong>SINC</strong>: y = app.mysinc(x) = sin(pi * x)/(pi * x)</li><li><strong>JINC</strong>: y = app.myjinc(x) = 2*besselj(1,x)/(x)</li></ul></li>
43+
<ul><li><strong>SINC</strong>: y = app.mysinc(x) = |sin(x)/(x)|</li><li><strong>JINC</strong>: y = app.myjinc(x) = 2*besselj(1,x)/(x)</li></ul></li>
4444
</ul>
4545
</li>
4646
<li>
645 KB
Binary file not shown.

Smart Polar Plots.prj

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
<deployment-project plugin="plugin.apptool" plugin-version="1.0">
2+
<configuration build-checksum="3885174130" file="V:\Documents\GitHub\MatlabSmartPolarPlots\Smart Polar Plots.prj" location="V:\Documents\GitHub\MatlabSmartPolarPlots" name="Smart Polar Plots" target="target.mlapps" target-name="Package App">
3+
<param.appname>Smart Polar Plots</param.appname>
4+
<param.authnamewatermark>Michael Bisbano</param.authnamewatermark>
5+
<param.email>[email protected]</param.email>
6+
<param.company>UMASSD</param.company>
7+
<param.icon />
8+
<param.icons />
9+
<param.summary>Flexible utility allowing creation of properly formatted polar plots for publication or analysis.</param.summary>
10+
<param.description />
11+
<param.screenshot>C:\Users\mbisbano\AppData\Local\Temp\tp1b99933e_9769_4dac_ab40_62a94452966c.png</param.screenshot>
12+
<param.version>3.1</param.version>
13+
<param.products.name />
14+
<param.products.id />
15+
<param.products.version />
16+
<param.platforms />
17+
<param.output>${PROJECT_ROOT}\MLAPP</param.output>
18+
<param.guid>15a111ca-a570-41be-b65a-cfd3cd1fdffa</param.guid>
19+
<unset>
20+
<param.icon />
21+
<param.icons />
22+
<param.description />
23+
<param.products.name />
24+
<param.products.id />
25+
<param.products.version />
26+
<param.platforms />
27+
</unset>
28+
<fileset.main>
29+
<file>${PROJECT_ROOT}\DirectionalFactorPolarPlotsV3.mlapp</file>
30+
</fileset.main>
31+
<fileset.depfun />
32+
<fileset.resources>
33+
<file>${PROJECT_ROOT}\CITATION.cff</file>
34+
<file>${PROJECT_ROOT}\CSV_Import_Template.csv</file>
35+
<file>${PROJECT_ROOT}\HTML</file>
36+
<file>${PROJECT_ROOT}\importTemplate.xlsx</file>
37+
<file>${PROJECT_ROOT}\InstallationGuide.md</file>
38+
<file>${PROJECT_ROOT}\LICENSE.txt</file>
39+
<file>${PROJECT_ROOT}\Markdown</file>
40+
<file>${PROJECT_ROOT}\README.md</file>
41+
<file>${PROJECT_ROOT}\testMat.mat</file>
42+
</fileset.resources>
43+
<fileset.package />
44+
<build-deliverables>
45+
<file location="${PROJECT_ROOT}" name="MLAPP" optional="false">V:\Documents\GitHub\MatlabSmartPolarPlots\MLAPP</file>
46+
</build-deliverables>
47+
<workflow />
48+
<matlab>
49+
<root>C:\Program Files\MATLAB\R2022b</root>
50+
<toolboxes>
51+
<toolbox name="matlabcoder" />
52+
<toolbox name="embeddedcoder" />
53+
<toolbox name="gpucoder" />
54+
<toolbox name="fixedpoint" />
55+
<toolbox name="matlabhdlcoder" />
56+
</toolboxes>
57+
<toolbox>
58+
<matlabcoder>
59+
<enabled>true</enabled>
60+
</matlabcoder>
61+
</toolbox>
62+
<toolbox>
63+
<embeddedcoder>
64+
<enabled>true</enabled>
65+
</embeddedcoder>
66+
</toolbox>
67+
<toolbox>
68+
<gpucoder>
69+
<enabled>true</enabled>
70+
</gpucoder>
71+
</toolbox>
72+
<toolbox>
73+
<fixedpoint>
74+
<enabled>true</enabled>
75+
</fixedpoint>
76+
</toolbox>
77+
<toolbox>
78+
<matlabhdlcoder>
79+
<enabled>true</enabled>
80+
</matlabhdlcoder>
81+
</toolbox>
82+
</matlab>
83+
<platform>
84+
<unix>false</unix>
85+
<mac>false</mac>
86+
<windows>true</windows>
87+
<win2k>false</win2k>
88+
<winxp>false</winxp>
89+
<vista>false</vista>
90+
<linux>false</linux>
91+
<solaris>false</solaris>
92+
<osver>10.0</osver>
93+
<os32>false</os32>
94+
<os64>true</os64>
95+
<arch>win64</arch>
96+
<matlab>true</matlab>
97+
</platform>
98+
</configuration>
99+
</deployment-project>

SmartPolarPlots.prj

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
<deployment-project plugin="plugin.ezdeploy" plugin-version="1.0">
2+
<configuration build-checksum="3274234324" file="V:\Documents\GitHub\MatlabSmartPolarPlots\SmartPolarPlots.prj" location="V:\Documents\GitHub\MatlabSmartPolarPlots" name="SmartPolarPlots" preferred-package-location="V:\Documents\GitHub\MatlabSmartPolarPlots\SmartPolarPlots\for_redistribution" preferred-package-type="package.type.exe" target="target.ezdeploy.standalone" target-name="Application Compiler">
3+
<param.appname>SmartPolarPlots</param.appname>
4+
<param.icon />
5+
<param.icons />
6+
<param.version>3.1</param.version>
7+
<param.authnamewatermark>Michael Bisbano</param.authnamewatermark>
8+
<param.email>[email protected]</param.email>
9+
<param.company>UMASSD</param.company>
10+
<param.summary>Flexible utility allowing creation of properly formatted polar plots for publication or analysis.</param.summary>
11+
<param.description />
12+
<param.screenshot />
13+
<param.guid />
14+
<param.installpath.string>\UMASSD\SmartPolarPlots\</param.installpath.string>
15+
<param.installpath.combo>option.installpath.programfiles</param.installpath.combo>
16+
<param.logo />
17+
<param.install.notes />
18+
<param.target.install.notes />
19+
<param.intermediate>${PROJECT_ROOT}\SmartPolarPlots\for_testing</param.intermediate>
20+
<param.files.only>${PROJECT_ROOT}\SmartPolarPlots\for_redistribution_files_only</param.files.only>
21+
<param.output>${PROJECT_ROOT}\SmartPolarPlots\for_redistribution</param.output>
22+
<param.logdir>${PROJECT_ROOT}\SmartPolarPlots</param.logdir>
23+
<param.enable.clean.build>false</param.enable.clean.build>
24+
<param.user.defined.mcr.options />
25+
<param.target.type>subtarget.standalone</param.target.type>
26+
<param.support.packages />
27+
<param.web.mcr>true</param.web.mcr>
28+
<param.package.mcr>false</param.package.mcr>
29+
<param.no.mcr>false</param.no.mcr>
30+
<param.web.mcr.name>SmartPolarPlots_InstallerV3_1_WEB</param.web.mcr.name>
31+
<param.package.mcr.name>SmartPolarPlots_InstallerV3_1_MCR</param.package.mcr.name>
32+
<param.no.mcr.name>MyAppInstaller_app</param.no.mcr.name>
33+
<param.windows.command.prompt>true</param.windows.command.prompt>
34+
<param.create.log>false</param.create.log>
35+
<param.log.file />
36+
<param.native.matlab>false</param.native.matlab>
37+
<param.checkbox>false</param.checkbox>
38+
<param.example />
39+
<param.help.text>Syntax
40+
-?
41+
42+
Input Arguments
43+
-? print help on how to use the application
44+
input arguments</param.help.text>
45+
<unset>
46+
<param.icon />
47+
<param.icons />
48+
<param.description />
49+
<param.screenshot />
50+
<param.guid />
51+
<param.installpath.string />
52+
<param.installpath.combo />
53+
<param.logo />
54+
<param.install.notes />
55+
<param.target.install.notes />
56+
<param.intermediate />
57+
<param.files.only />
58+
<param.output />
59+
<param.logdir />
60+
<param.enable.clean.build />
61+
<param.user.defined.mcr.options />
62+
<param.target.type />
63+
<param.support.packages />
64+
<param.web.mcr />
65+
<param.package.mcr />
66+
<param.no.mcr />
67+
<param.no.mcr.name />
68+
<param.windows.command.prompt />
69+
<param.create.log />
70+
<param.log.file />
71+
<param.native.matlab />
72+
<param.checkbox />
73+
<param.example />
74+
</unset>
75+
<fileset.main>
76+
<file>${PROJECT_ROOT}\DirectionalFactorPolarPlotsV3.mlapp</file>
77+
</fileset.main>
78+
<fileset.resources>
79+
<file>${PROJECT_ROOT}\CSV_Import_Template.csv</file>
80+
<file>${PROJECT_ROOT}\importTemplate.xlsx</file>
81+
<file>${PROJECT_ROOT}\testMat.mat</file>
82+
</fileset.resources>
83+
<fileset.package>
84+
<file>${PROJECT_ROOT}\CITATION.cff</file>
85+
<file>${PROJECT_ROOT}\CSV_Import_Template.csv</file>
86+
<file>${PROJECT_ROOT}\HTML</file>
87+
<file>${PROJECT_ROOT}\importTemplate.xlsx</file>
88+
<file>${PROJECT_ROOT}\InstallationGuide.md</file>
89+
<file>${PROJECT_ROOT}\LICENSE.txt</file>
90+
<file>${PROJECT_ROOT}\Markdown</file>
91+
<file>${PROJECT_ROOT}\README.md</file>
92+
<file>${PROJECT_ROOT}\testMat.mat</file>
93+
</fileset.package>
94+
<fileset.depfun />
95+
<build-deliverables>
96+
<file location="${PROJECT_ROOT}\SmartPolarPlots\for_testing" name="splash.png" optional="false">V:\Documents\GitHub\MatlabSmartPolarPlots\SmartPolarPlots\for_testing\splash.png</file>
97+
<file location="${PROJECT_ROOT}\SmartPolarPlots\for_testing" name="SmartPolarPlots.exe" optional="false">V:\Documents\GitHub\MatlabSmartPolarPlots\SmartPolarPlots\for_testing\SmartPolarPlots.exe</file>
98+
<file location="${PROJECT_ROOT}\SmartPolarPlots\for_testing" name="readme.txt" optional="true">V:\Documents\GitHub\MatlabSmartPolarPlots\SmartPolarPlots\for_testing\readme.txt</file>
99+
</build-deliverables>
100+
<workflow />
101+
<matlab>
102+
<root>C:\Program Files\MATLAB\R2022b</root>
103+
<toolboxes>
104+
<toolbox name="matlabcoder" />
105+
<toolbox name="embeddedcoder" />
106+
<toolbox name="gpucoder" />
107+
<toolbox name="fixedpoint" />
108+
<toolbox name="matlabhdlcoder" />
109+
</toolboxes>
110+
<toolbox>
111+
<matlabcoder>
112+
<enabled>true</enabled>
113+
</matlabcoder>
114+
</toolbox>
115+
<toolbox>
116+
<embeddedcoder>
117+
<enabled>true</enabled>
118+
</embeddedcoder>
119+
</toolbox>
120+
<toolbox>
121+
<gpucoder>
122+
<enabled>true</enabled>
123+
</gpucoder>
124+
</toolbox>
125+
<toolbox>
126+
<fixedpoint>
127+
<enabled>true</enabled>
128+
</fixedpoint>
129+
</toolbox>
130+
<toolbox>
131+
<matlabhdlcoder>
132+
<enabled>true</enabled>
133+
</matlabhdlcoder>
134+
</toolbox>
135+
</matlab>
136+
<platform>
137+
<unix>false</unix>
138+
<mac>false</mac>
139+
<windows>true</windows>
140+
<win2k>false</win2k>
141+
<winxp>false</winxp>
142+
<vista>false</vista>
143+
<linux>false</linux>
144+
<solaris>false</solaris>
145+
<osver>10.0</osver>
146+
<os32>false</os32>
147+
<os64>true</os64>
148+
<arch>win64</arch>
149+
<matlab>true</matlab>
150+
</platform>
151+
</configuration>
152+
</deployment-project>

SmartPolarPlots/PackagingLog.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<html><meta charset="UTF-8"><pre>
2+
<font color=blue>mcc -o SmartPolarPlots -W 'WinMain:SmartPolarPlots,version=3.1' -T link:exe -d V:\Documents\GitHub\MatlabSmartPolarPlots\SmartPolarPlots\for_testing -v V:\Documents\GitHub\MatlabSmartPolarPlots\DirectionalFactorPolarPlotsV3.mlapp -a V:\Documents\GitHub\MatlabSmartPolarPlots\CSV_Import_Template.csv -a V:\Documents\GitHub\MatlabSmartPolarPlots\importTemplate.xlsx -a V:\Documents\GitHub\MatlabSmartPolarPlots\testMat.mat -r 'C:\Program Files\MATLAB\R2022b\toolbox\compiler\packagingResources\default_icon.ico' </font>
3+
Compiler version: 8.5 (R2022b)
4+
5+
Analyzing file dependencies.
6+
7+
Parsing file "V:\Documents\GitHub\MatlabSmartPolarPlots\DirectionalFactorPolarPlotsV3.mlapp"
8+
(referenced from command line).
9+
Generating file "V:\Documents\GitHub\MatlabSmartPolarPlots\SmartPolarPlots\for_testing\readme.txt".
10+
<font color=blue>Packaging...</font>
11+
Creating the bundle...
12+
Creating the install agent URL file...
13+
Web based installer created at V:\Documents\GitHub\MatlabSmartPolarPlots\SmartPolarPlots\for_redistribution\SmartPolarPlots_InstallerV3_1_WEB.exe.
14+
Packaging complete.
15+
Elapsed packaging time was: 7 seconds.
16+
</pre></html>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# This CITATION.cff file was generated with cffinit.
2+
# Visit https://bit.ly/cffinit to generate yours today!
3+
4+
cff-version: 1.2.0
5+
title: SmartPolarPlots
6+
message: >-
7+
If you use this software, please cite it using the
8+
metadata from this file.
9+
type: software
10+
authors:
11+
- given-names: Michael
12+
family-names: Bisbano
13+
14+
affiliation: University of Massachusetts Dartmouth
15+
repository-code: 'https://github.com/mbisbano1/MatlabSmartPolarPlots'
16+
abstract: >-
17+
A handy utility for generating different types of polar
18+
plots for publication, primarily tailored to directivity
19+
plots
20+
license: GPL-3.0
21+
date-released: '2023-03-05'

0 commit comments

Comments
 (0)