The Plot Parameters node creates visual graphs and plots from sampler parameters, enabling data-driven analysis of generation settings. Adapted from comfyui-essentials-nodes (now in maintenance mode), this tool helps visualize the relationship between parameters and output quality.
This node is based on work from comfyui-essentials-nodes by cubiq. The original project is in maintenance-only mode, and we've adopted and enhanced these tools to ensure continued support and compatibility with modern ComfyUI workflows.
- Multi-Parameter Plotting: Visualize multiple parameters simultaneously
- Comparison Graphs: Compare settings across batch runs
- Statistical Analysis: Calculate means, deviations, and trends
- Export Capabilities: Save plots as images or data files
- Real-time Updates: Dynamic graph generation during workflow execution
- Category:
ComfyAssets/π§° xyz-helpers - Node Name:
PlotParameters - Function:
plot
| Parameter | Type | Default | Description |
|---|---|---|---|
sampler_params |
SAMPLER_PARAMS | - | Parameters to plot |
plot_type |
DROPDOWN | line | [line, bar, scatter, heatmap] |
x_axis |
DROPDOWN | steps | Parameter for X axis |
y_axis |
DROPDOWN | quality | Metric for Y axis |
| Parameter | Type | Default | Description |
|---|---|---|---|
title |
STRING | "Parameter Analysis" | Graph title |
show_grid |
BOOLEAN | True | Display grid lines |
show_legend |
BOOLEAN | True | Display legend |
color_scheme |
DROPDOWN | default | Color palette selection |
| Name | Type | Description |
|---|---|---|
plot_image |
IMAGE | Generated plot as image |
data_csv |
STRING | Plot data in CSV format |
statistics |
STRING | Statistical summary |
FluxSamplerParams β PlotParameters β Display Image
plot_type: line
x_axis: steps
y_axis: guidance
LoRAFolderBatch β PlotParameters β Save Image
plot_type: scatter
x_axis: lora_strength
y_axis: quality_score
Parameter Grid β PlotParameters β Analysis Display
plot_type: heatmap
x_axis: cfg
y_axis: steps
- Best for continuous parameter changes
- Shows trends and relationships
- Ideal for time series or progression
- Compares discrete values
- Good for categorical comparisons
- Shows distribution clearly
- Reveals correlations
- Identifies outliers
- Best for large datasets
- Two-dimensional parameter analysis
- Color-coded intensity values
- Perfect for grid searches
- Choose related parameters for meaningful plots
- Use consistent scales for comparison
- Consider parameter ranges when plotting
- Limit number of series to 5-7 for readability
- Use contrasting colors for multiple lines
- Enable grid for precise value reading
# Effective parameter combinations
x_axis: "guidance"
y_axis: "perceived_quality"
# Step efficiency analysis
x_axis: "steps"
y_axis: "generation_time"
# LoRA impact assessment
x_axis: "lora_strength"
y_axis: "style_adherence"1. Generate with parameters
2. Plot results
3. Export data
4. Statistical analysis
Params β Plot1 (steps vs quality)
β Plot2 (guidance vs coherence)
β Plot3 (strength vs style)
β Combined Analysis
- Define custom Y-axis metrics
- Import external quality scores
- Calculate derived values
- PNG/SVG image formats
- CSV data export
- JSON statistics export
# Professional presentation
color_scheme: "scientific"
show_grid: True
show_legend: True
# Minimal style
color_scheme: "minimal"
show_grid: False
show_legend: False- Mean, Median, Mode
- Standard Deviation
- Correlation Coefficients
- Trend Lines
- R-squared Values
- Positive Correlation: Parameters increase together
- Negative Correlation: Inverse relationship
- No Correlation: Independent parameters
- Start with scatter plots for exploration
- Use line plots for trends
- Apply heatmaps for 2D parameter spaces
- Bar charts for final comparisons
- Normalize scales when comparing different metrics
- Remove outliers for cleaner plots
- Group similar parameters
- Cache plot images for repeated viewing
- Export data for external analysis
- Use lower resolution for preview plots
- Verify sampler_params contains data
- Check axis parameter selection
- Ensure valid parameter ranges
- Use logarithmic scale for wide ranges
- Normalize data if needed
- Adjust plot dimensions
- Check file permissions
- Verify export path exists
- Ensure sufficient disk space
Track and visualize the effect of different sampling parameters on output quality.
Plot the relationship between LoRA strength and style transfer effectiveness.
Analyze generation time vs quality trade-offs across different settings.
Compare multiple generation runs to identify optimal parameters.
- 1.0.0: Initial adaptation from comfyui-essentials-nodes
- 1.0.1: Added heatmap visualization
- 1.0.2: Enhanced statistical analysis
- 1.0.3: Improved export capabilities
Original implementation by cubiq in comfyui-essentials-nodes. Adapted and maintained by the ComfyAssets team.