Qu

pptx.add_nyquist_chart

Builtin index · File I/O

result = pptx.add_nyquist_chart(p, i, re, im, [negate=true], [name=], [color=], [title=], [x_title="Z' / Ω"], [y_title="-Z'' / Ω"], [at=], [width=150], [height=110], [lines=false], [markers=], [legend=], [shape_name=])

Input: p, i, re, im, negate, name, color, title, x_title, y_title, at, width, height, lines, markers, legend, shape_name · Output: result

What it is

A Nyquist plot for impedance spectroscopy on slide i: Z' along x, -Z'' up, both axes on the SAME scale with square gridlines, so a semicircle stays round. Give Z' and Z'' as two vectors, or call pptx.add_nyquist_chart(p, i, Z, ...) with one complex vector (its real part against minus its imaginary part). With negate=true (Z'' as measured, negative for a capacitive arc) -Z'' is plotted; negate=false plots im as given. The axis limits follow the data.

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
result = pptx.add_nyquist_chart(p, i, re, im, [negate=true], [name=], [color=], [title=], [x_title="Z' / Ω"], [y_title="-Z'' / Ω"], [at=], [width=150], [height=110], [lines=false], [markers=], [legend=], [shape_name=])
p vectorGive Z' and Z'' as two vectors, or call pptx.add_nyquist_chart(p, i, Z, ...) with one complex vector (its real part against minus its imaginary part).
i —A Nyquist plot for impedance spectroscopy on slide i: Z' along x, -Z'' up, both axes on the SAME scale with square gridlines, so a semicircle stays round.
re —not documented yet
im —negate=false plots im as given.
negate optional (default true)negate=false plots im as given.
name optionalnot documented yet
color optionalnot documented yet
title optionalnot documented yet
x_title optional (default "Z' / Ω")not documented yet
y_title optional (default "-Z'' / Ω")not documented yet
at optionalnot documented yet
width optional (default 150)not documented yet
height optional (default 110)not documented yet
lines optional (default false)not documented yet
markers optionalnot documented yet
legend optionalnot documented yet
shape_name optionalnot documented yet
result —
Returns the new shape's id. Data are cached literals, as for pptx.add_chart. *Added in v0.4.7*

Examples

No documentation example calls this form yet. The File I/O chapter is where one belongs.