I mean to call the polygon only,without the face,level to next exp,equipment etc etc.
Edit: I am trying to make Persona traits status,which just show the polygon and actor image.
I mean to call the polygon only,without the face,level to next exp,equipment etc etc.

if (Imported.YEP_StatusMenuCore) {
Window_StatusInfo.prototype.drawParameters = function() {
var dx = indent;
var dy = this.lineHeight() / 2;
var dw = this.contents.width - indent;
var dh = this.lineHeight();
var dw2;
var text;
this.changeTextColor(this.systemColor());
this.drawText(Yanfly.Param.StatusGraphText, dx, dy, dw, 'center');
dy = this.lineHeight();
dx = indent;
dw -= this.standardPadding() * 2;
for (var i = 2; i < 8; ++i) {
dy += this.lineHeight();
var rate = this.drawParamGauge(dx, dy, dw, i);
this.changeTextColor(this.systemColor());
this.drawText(TextManager.param(i), dx + 4, dy, dw - 4);
text = Yanfly.Util.toGroup(this._actor.param(i))
this.changeTextColor(this.normalColor());
dw2 = dw * rate;
this.drawText(text, dx, dy, dw2 - 4, 'right');
}
this.contents.SPolyDrawStatPolygon(this._actor);
//draw text
if (useText) {
this.changeTextColor(textColor);
this.contents.fontSize = this.standardFontSize() - fontDecrement;
for (var i = 0; i < stats.length; i++) {
this.drawText(TextManager.param(stats[i]), centerX + textOffset.x + (radius + textOffset.radial) * Math.cos(Math.PI/2 + i * 2 * Math.PI / sides), centerY + textOffset.y - (radius + textOffset.radial) * Math.sin(Math.PI/2 + i * 2 * Math.PI / sides), 160);
}
this.resetFontSettings();
}
//draw icon
if (useIcon) {
for (var i = 0; i < stats.length; i++) {
this.drawIcon(iconIndexes[i], centerX + iconOffset.x + (radius + iconOffset.radial) * Math.cos(Math.PI/2 + i * 2 * Math.PI / sides), centerY + iconOffset.y - (radius + iconOffset.radial) * Math.sin(Math.PI/2 + i * 2 * Math.PI / sides));
}
}
};
}
if (Imported.YEP_StatusMenuCore) {
Window_StatusInfo.prototype.drawParameters = function() {
var dx = indent;
var dy = this.lineHeight() / 2;
var dw = this.contents.width - indent;
var dh = this.lineHeight();
var dw2;
var text;
var rect = new Rectangle();
rect.width = (this.contents.width - this.standardPadding()) / 2;
rect.y = this.lineHeight() * 2;
rect.height = this.lineHeight();
var dx = rect.x + this.textPadding();
var dw = rect.width - this.textPadding() * 2;
this.drawDarkRect(rect.x, rect.y, rect.width, rect.height);
this.changeTextColor(this.systemColor());
this.drawText(TextManager.level, dx, rect.y, dw, 'left');
this.changeTextColor(this.normalColor());
text = Yanfly.Util.toGroup(this._actor.level);
this.drawText(text, dx, rect.y, dw, 'right');
this.drawText(Yanfly.Param.StatusParamText, dx + 9, dy, dw, 'center');
for (var i = 0; i < 8; ++i) {
if (i < 2) {
rect.y += this.lineHeight();
} else if (i === 2) {
rect.y += this.lineHeight();
rect.width /= 2;
dw = rect.width - this.textPadding() * 2;
} else if (i % 2 === 0) {
rect.x = 0;
dx = rect.x + this.textPadding();
rect.y += this.lineHeight();
} else {
rect.x += rect.width;
dx += rect.width;
}
this.drawDarkRect(rect.x, rect.y, rect.width, rect.height);
this.changeTextColor(this.systemColor());
this.drawText(TextManager.param(i), dx, rect.y, dw, 'left');
this.changeTextColor(this.normalColor());
text = Yanfly.Util.toGroup(this._actor.param(i));
this.drawText(text, dx, rect.y, dw, 'right');
}
this.contents.SPolyDrawStatPolygon(this._actor);
//draw text
if (useText) {
this.changeTextColor(textColor);
this.contents.fontSize = this.standardFontSize() - fontDecrement;
for (var i = 0; i < stats.length; i++) {
this.drawText(TextManager.param(stats[i]), centerX + textOffset.x + (radius + textOffset.radial) * Math.cos(Math.PI/2 + i * 2 * Math.PI / sides), centerY + textOffset.y - (radius + textOffset.radial) * Math.sin(Math.PI/2 + i * 2 * Math.PI / sides), 160);
}
this.resetFontSettings();
}
//draw icon
if (useIcon) {
for (var i = 0; i < stats.length; i++) {
this.drawIcon(iconIndexes[i], centerX + iconOffset.x + (radius + iconOffset.radial) * Math.cos(Math.PI/2 + i * 2 * Math.PI / sides), centerY + iconOffset.y - (radius + iconOffset.radial) * Math.sin(Math.PI/2 + i * 2 * Math.PI / sides));
}
}
};
}

I tried this and got it to work but how did you get the graph to line up perfectly side-by-side?
Can you post a screenshot?
I actually figured it out last week. I thought I had to do its placement from my screen resolution or something but yea... I got it 🙂
I have tried pasting and copying the code in a few different locations but I have not been able to see the icons. I successfully added the stat polygon to Mr. Trivel's Party Manager Scene, but I'm not sure where to add the code to show the icons in the scene.
var stats = PluginManager.parameters("StatPolygon")["Stats to Draw"].split(", ").map(Number);
Original thread: https://forums.rpgmakerweb.com/threads/stat-polygon.80240/