# plot\_feature\_ssm

> plot\_feature\_ssm(X, Fs\_X, S, Fs\_S, ann, duration, color\_ann=None, title='', label='Time (seconds)', time=True, figsize=(5, 6), fontsize=10, clim\_X=None, clim=None)

{% hint style="info" %}
Function description
{% endhint %}

Plot SSM along with feature representation and annotations (standard setting is time in seconds)

Notebook: C4/C4S2\_SSM.ipynb

{% hint style="info" %}
Parameter
{% endhint %}

X: Feature representation&#x20;

Fs\_X: Feature rate of `X`&#x20;

S: Similarity matrix (SM)&#x20;

Fs\_S: Feature rate of `S`&#x20;

ann: Annotaions&#x20;

duration: Duration&#x20;

color\_ann: Color annotations (see :func:`libfmp.b.b_plot.plot_segments`) (Default value = None)&#x20;

title: Figure title (Default value = '')&#x20;

label: Label for time axes (Default value = 'Time (seconds)')&#x20;

time: Display time axis ticks or not (Default value = True)&#x20;

figsize: Figure size (Default value = (5, 6))&#x20;

fontsize: Font size (Default value = 10)&#x20;

clim\_X: Color limits for matrix X (Default value = None)&#x20;

clim: Color limits for matrix `S` (Default value = None)

{% hint style="info" %}
Return
{% endhint %}

fig: Handle for figure&#x20;

ax: Handle for axes

{% hint style="info" %}
Example
{% endhint %}

Inner helper function
