Browse Source

remove bug 388: enable plot unit W for plotting @q1[p]

pre-master-46
Holger Vogt 7 years ago
parent
commit
e937adc372
  1. 4
      src/frontend/outitf.c

4
src/frontend/outitf.c

@ -905,7 +905,7 @@ guess_type(const char *name)
type = SV_TEMP;
else if (cieq(name, "res-sweep"))
type = SV_RES;
else if ((*name == '@') && substring("[g", name))
else if ((*name == '@') && substring("[g", name)) /* token starting with [g */
type = SV_ADMITTANCE;
else if ((*name == '@') && substring("[c", name))
type = SV_CAPACITANCE;
@ -913,6 +913,8 @@ guess_type(const char *name)
type = SV_CURRENT;
else if ((*name == '@') && substring("[q", name))
type = SV_CHARGE;
else if ((*name == '@') && substring("[p]", name)) /* token is exactly [p] */
type = SV_POWER;
else
type = SV_VOLTAGE;

Loading…
Cancel
Save