ComfyUI > Nodes > D2 Nodes ComfyUI > D2 XY Plot

ComfyUI Node: D2 XY Plot

Class Name

D2 XY Plot

Category
D2/XY Plot
Author
da2el-ai (Account age: 713days)
Extension
D2 Nodes ComfyUI
Latest Updated
2025-05-04
Github Stars
0.03K

How to Install D2 Nodes ComfyUI

Install this extension via the ComfyUI Manager by searching for D2 Nodes ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter D2 Nodes ComfyUI in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

D2 XY Plot Description

Facilitates complex data visualization on a 2D grid for AI artists to explore parameter relationships in generative models.

D2 XY Plot:

The D2 XY Plot node is designed to facilitate the creation of complex visualizations by plotting data points on a two-dimensional grid. This node is particularly useful for AI artists who want to explore and visualize the relationships between different parameters in their generative models. By allowing you to specify a range of values for both the x and y axes, the D2 XY Plot node can generate a grid of outputs that illustrate how changes in these parameters affect the final result. This capability is invaluable for fine-tuning models and understanding the impact of various settings, making it an essential tool for those looking to optimize their creative workflows.

D2 XY Plot Input Parameters:

positive

This parameter represents the positive prompt that will be used in the generation process. It is a string that influences the output by providing a positive context or theme for the model to follow. Adjusting this parameter can significantly impact the style and content of the generated images.

negative

The negative parameter is a string that serves as a counterbalance to the positive prompt. It specifies elements or themes that should be avoided in the output. By fine-tuning this parameter, you can steer the model away from unwanted characteristics, ensuring the generated content aligns more closely with your artistic vision.

ckpt_name

This parameter specifies the name of the checkpoint file to be used. Checkpoints are saved states of the model that can be loaded to resume training or generation. Selecting the appropriate checkpoint can affect the quality and style of the output, as different checkpoints may have been trained on different datasets or with different settings.

seed

The seed parameter is an integer that initializes the random number generator used in the model. By setting a specific seed, you can ensure that the generation process is reproducible, allowing you to recreate the same output consistently. This is particularly useful for experimentation and comparison purposes.

steps

This integer parameter defines the number of steps the model will take during the generation process. More steps generally lead to higher quality outputs, as the model has more opportunities to refine its predictions. However, increasing the number of steps also requires more computational resources and time.

cfg

The cfg parameter, a float, stands for "configuration" and controls the strength of the guidance applied during generation. A higher cfg value means the model will adhere more closely to the provided prompts, while a lower value allows for more creative freedom. Balancing this parameter is key to achieving the desired level of control over the output.

sampler_name

This string parameter specifies the name of the sampling method to be used. Different samplers can produce varying results, and choosing the right one can influence the style and quality of the generated content. Experimenting with different samplers can help you find the best fit for your artistic goals.

scheduler

The scheduler parameter, a string, determines the scheduling strategy for the generation process. Schedulers can affect how the model's learning rate is adjusted over time, impacting the convergence and stability of the output. Selecting an appropriate scheduler is crucial for achieving optimal results.

denoise

This float parameter controls the level of denoising applied to the output. Denoising can help reduce artifacts and improve the clarity of the generated images. Adjusting this parameter allows you to find the right balance between detail and smoothness in your outputs.

x_type

The x_type parameter specifies the data type for the x-axis values. It can be one of several types, such as "INT", "FLOAT", or "STRING", and determines how the x-axis values are interpreted and processed. Choosing the correct type is essential for accurate plotting and analysis.

x_list

This parameter is a string containing a list of values for the x-axis, separated by newlines. These values define the range of data points to be plotted along the x-axis, allowing you to explore how changes in this parameter affect the output.

y_type

Similar to x_type, the y_type parameter specifies the data type for the y-axis values. It ensures that the y-axis values are correctly interpreted and processed, which is crucial for generating accurate and meaningful plots.

y_list

The y_list parameter is a string containing a list of values for the y-axis, separated by newlines. These values define the range of data points to be plotted along the y-axis, enabling you to investigate the impact of variations in this parameter on the output.

auto_queue

This boolean parameter determines whether the node should automatically queue the generation tasks. Enabling auto_queue can streamline the workflow by automating the process, while disabling it allows for more manual control over task execution.

start_index

The start_index parameter is an integer that specifies the starting point for the generation process. It allows you to resume plotting from a specific index, which can be useful for continuing interrupted tasks or focusing on a particular section of the plot.

reset

This string parameter indicates whether the node should reset its state before starting the generation process. Resetting can be useful for ensuring that previous settings or outputs do not interfere with the current task.

index

The index parameter is an integer that tracks the current position in the generation process. It is used internally to manage the progression through the plot and ensure that each data point is processed in sequence.

remaining_time

This integer parameter provides an estimate of the remaining time for the generation process. It can help you manage your workflow by giving you an idea of how long the current task will take to complete.

xy_seed

The xy_seed parameter is an integer that serves as a seed for the x and y axes. It ensures that the plotting process is reproducible, allowing you to generate the same grid of outputs consistently.

progress_bar

This integer parameter controls the display of a progress bar during the generation process. A progress bar can provide visual feedback on the task's progress, helping you monitor its status and manage your time effectively.

D2 XY Plot Output Parameters:

d2_pipe

The d2_pipe output is an object that encapsulates the data and settings used in the generation process. It is passed to other nodes or components in the workflow, facilitating the integration and execution of the plotted tasks.

grid_pipe

The grid_pipe output is similar to d2_pipe but specifically tailored for grid-based visualizations. It contains the necessary information to render the plotted data points on a two-dimensional grid, enabling you to visualize the relationships between parameters effectively.

positive

This output is a string representing the final positive prompt used in the generation process. It reflects any modifications or adjustments made during the plotting, providing insight into the context or theme that influenced the output.

negative

The negative output is a string that captures the final negative prompt used in the generation process. It shows any changes applied during the plotting, offering a view of the elements or themes that were avoided in the output.

ckpt_name

This output is a string indicating the checkpoint file used in the generation process. It provides a reference to the model's state, allowing you to track which checkpoint influenced the output.

seed

The seed output is an integer that represents the final seed value used in the generation process. It ensures reproducibility, allowing you to recreate the same output by using the same seed.

steps

This output is an integer that indicates the number of steps taken during the generation process. It provides a measure of the computational effort involved in producing the output, which can be useful for evaluating the quality and efficiency of the task.

cfg

The cfg output is a float that reflects the final configuration value used in the generation process. It shows the level of guidance applied, offering insight into how closely the model adhered to the provided prompts.

sampler_name

This output is a string that specifies the sampling method used in the generation process. It provides information on the technique that influenced the style and quality of the output.

scheduler

The scheduler output is a string that indicates the scheduling strategy used in the generation process. It offers a view of how the model's learning rate was adjusted, which can impact the convergence and stability of the output.

denoise

This output is a float that represents the final level of denoising applied to the output. It shows the balance achieved between detail and smoothness, providing insight into the clarity and quality of the generated images.

x_other

The x_other output is a string that captures any additional information or settings related to the x-axis. It provides context for the plotted data points, helping you understand the factors that influenced the output.

y_other

Similar to x_other, the y_other output is a string that contains additional information or settings related to the y-axis. It offers context for the plotted data points, aiding in the interpretation of the output.

x_annotation

The x_annotation output is an object that encapsulates the annotations or labels for the x-axis. It provides a structured view of the x-axis values, enhancing the readability and interpretability of the plot.

y_annotation

The y_annotation output is an object that encapsulates the annotations or labels for the y-axis. It offers a structured view of the y-axis values, improving the readability and interpretability of the plot.

status

The status output is a string that indicates the current state of the generation process. It can show whether the task is initializing, in progress, or finished, providing feedback on the task's progression.

index

This output is an integer that reflects the current position in the generation process. It helps track the progression through the plot, ensuring that each data point is processed in sequence.

D2 XY Plot Usage Tips:

  • Experiment with different combinations of positive and negative prompts to explore a wide range of creative possibilities.
  • Use the seed parameter to ensure reproducibility, allowing you to compare different configurations and their effects on the output.
  • Adjust the cfg parameter to find the right balance between adherence to prompts and creative freedom, optimizing the quality of the generated content.
  • Try different samplers and schedulers to see how they affect the style and quality of the output, helping you find the best fit for your artistic goals.

D2 XY Plot Common Errors and Solutions:

ValueError: Invalid data type for x_type or y_type

  • Explanation: This error occurs when an unsupported data type is specified for the x_type or y_type parameters.
  • Solution: Ensure that the data type is one of the supported types, such as "INT", "FLOAT", or "STRING".

IndexError: List index out of range

  • Explanation: This error happens when the index parameter exceeds the number of available data points in the x_list or y_list.
  • Solution: Verify that the index is within the valid range, and adjust the start_index or list lengths as needed.

TypeError: Unsupported operand type(s) for +: 'NoneType' and 'int'

  • Explanation: This error can occur if a required parameter is not provided, resulting in a NoneType being used in calculations.
  • Solution: Check that all required parameters are specified and have valid values before running the node.

D2 XY Plot Related Nodes

Go back to the extension to check out more related nodes.
D2 Nodes ComfyUI
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.