plot_isotherm_comparison
Generate a combined isotherm plot from multiple MOF datasets for direct comparison. Input labeled isotherm data from top candidates to produce a single publication-ready PNG.
Instructions
Generate a multi-MOF comparison isotherm plot (PNG) — all MOFs on one figure.
datasets is a list of dicts, each representing one MOF: { "label": "MIL-101(Cr)", # legend label "isotherm_data": [{...}, {...}, ...] # same format as plot_isotherm() }
Designed for the final "top-N candidates" comparison step: pass in the isotherm_data from each MOF's parse_raspa_output() call together with a descriptive label, and receive a single publication-ready comparison figure.
pressure_unit / loading_key: same semantics as plot_isotherm(). output_path: absolute path where the PNG will be saved.
Returns: {"status": "ok", "path": ..., "n_series": ...} or {"status": "error", "message": ...}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"datasets": "<datasets>",
"output_path": "<output_path>"
},
"name": "plot_isotherm_comparison"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datasets | Yes | ||
| molecule | No | ||
| loading_key | No | loading_mol_kg | |
| output_path | Yes | ||
| pressure_unit | No | Pa | |
| temperature_K | No |