矩阵图生成器
生成相关性和对比矩阵图,支持颜色强度映射和网格布局
API 文档
请求端点
POST /zh/api/tools/matrix-chart-generator
请求参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| matrixData | textarea | 是 | Matrix data as 2D array. Supports JSON array or CSV format with comma-separated values |
| chartTitle | text | 否 | 显示在矩阵图上方的标题 |
| colorScheme | select | 否 | - |
| backgroundColor | color | 否 | 图表的背景颜色 |
| cellSize | number | 否 | 每个单元格的像素大小 |
| fontSize | number | 否 | 单元格值的字体大小 |
| minValue | number | 否 | 颜色刻度的最小值(留空自动) |
| maxValue | number | 否 | 颜色刻度的最大值(留空自动) |
| chartWidth | number | 否 | 图表的像素宽度 |
| chartHeight | number | 否 | 图表的像素高度 |
| showValues | checkbox | 否 | 在单元格内显示数值 |
| showLabels | checkbox | 否 | 显示行和列标签(如果可用) |
| showGrid | checkbox | 否 | 在单元格之间显示网格线 |
| roundValues | checkbox | 否 | 将数值四舍五入为整数显示 |
响应格式
{
"result": "Processed HTML content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
HTML:
HTML
AI MCP 文档
将此工具添加到您的 MCP 服务器配置中:
{
"mcpServers": {
"elysiatools-matrix-chart-generator": {
"name": "matrix-chart-generator",
"description": "生成相关性和对比矩阵图,支持颜色强度映射和网格布局",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=matrix-chart-generator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
你可以串联多个工具,比如:`https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`,最多20个。
如果遇见问题,请联系我们:[email protected]