mpl_mcp_plot_stem
Generate and visualize stem plots for given x and y data values using customizable labels, titles, colors, and formatting options.
Instructions
Plots stem chart of given datavalues
Input Schema
Name | Required | Description | Default |
---|---|---|---|
basefmt | No | k- | |
bottom | No | ||
colors | No | blue | |
dpi | No | ||
figsize | No | ||
grid | No | ||
labels | No | ||
legend | No | ||
linefmt | No | - | |
markerfmt | No | o | |
orientation | No | vertical | |
title | No | ||
x_data | Yes | ||
xlabel | No | ||
y_data | Yes | ||
ylabel | No |
Input Schema (JSON Schema)
{
"properties": {
"basefmt": {
"default": "k-",
"title": "Basefmt",
"type": "string"
},
"bottom": {
"default": 0,
"title": "Bottom",
"type": "number"
},
"colors": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
],
"default": "blue",
"title": "Colors"
},
"dpi": {
"default": 200,
"title": "Dpi",
"type": "integer"
},
"figsize": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Figsize"
},
"grid": {
"default": true,
"title": "Grid",
"type": "boolean"
},
"labels": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Labels"
},
"legend": {
"default": false,
"title": "Legend",
"type": "boolean"
},
"linefmt": {
"default": "-",
"title": "Linefmt",
"type": "string"
},
"markerfmt": {
"default": "o",
"title": "Markerfmt",
"type": "string"
},
"orientation": {
"default": "vertical",
"title": "Orientation",
"type": "string"
},
"title": {
"default": "",
"title": "Title",
"type": "string"
},
"x_data": {
"anyOf": [
{
"items": {
"type": "number"
},
"type": "array"
},
{
"items": {
"items": {
"type": "number"
},
"type": "array"
},
"type": "array"
}
],
"title": "X Data"
},
"xlabel": {
"default": "",
"title": "Xlabel",
"type": "string"
},
"y_data": {
"anyOf": [
{
"items": {
"type": "number"
},
"type": "array"
},
{
"items": {
"items": {
"type": "number"
},
"type": "array"
},
"type": "array"
}
],
"title": "Y Data"
},
"ylabel": {
"default": "",
"title": "Ylabel",
"type": "string"
}
},
"required": [
"x_data",
"y_data"
],
"type": "object"
}