diff --git a/main.css b/main.css
index 87ed39a..74b52fa 100644
--- a/main.css
+++ b/main.css
@@ -340,4 +340,8 @@ input[type=text]{
width: 20px;
height: 10px;
border: 1px solid black;
+}
+
+.libchecker {
+ display: inline-block;
}
\ No newline at end of file
diff --git a/main.js b/main.js
index 7a2e23e..d214d3f 100644
--- a/main.js
+++ b/main.js
@@ -39,6 +39,8 @@ Vue.component('lib',{
else if (this.id==4)
for(var key in statisticsDic)
sparamDic[key] = statisticsDic[key];
+ else if (this.id==6)
+ app.enablepolar = true;
}
else{
delete app.packages[this.id];
@@ -48,6 +50,11 @@ Vue.component('lib',{
else if(this.id==4)
for(var key in statisticsDic)
delete sparamDic[key];
+ else if(this.id==6){
+ if(app.axistype=="4")
+ app.axistype = "0";
+ app.enablepolar = false;
+ }
}
updatePkg();
if(this.id)
@@ -661,6 +668,7 @@ var app = new Vue({
enableLegend: true,
enablepin: false,
enablesource: true,
+ enablepolar: false,
manual: false,
series: "",
param: "",
@@ -700,6 +708,8 @@ var app = new Vue({
case "1": axistypename = "semilogxaxis"; break;
case "2": axistypename = "semilogyaxis"; break;
case "3": axistypename = "loglogaxis"; break;
+ case "4": axistypename = "polaraxis";
+ break;
}
return (this.enablepin ? tp_premable : t_premable)
+ "\\begin{" + axistypename + "}["