# Line plot with sweep hyperparameter on x-axis

**URL:** <https://community.wandb.ai/t/line-plot-with-sweep-hyperparameter-on-x-axis/8689>\
**Category:** W&B Help\
**Tags:** sweeps, wandb\
**Created:** [January 2, 2025, 4:14pm UTC](https://community.wandb.ai/t/line-plot-with-sweep-hyperparameter-on-x-axis/8689 "2025-01-02T16:14:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nennomp](https://avatars.discourse-cdn.com/v4/letter/n/85f322/32.png) [@nennomp](https://community.wandb.ai/u/nennomp)\
**Post date:** [January 2, 2025, 4:14pm UTC](https://community.wandb.ai/t/line-plot-with-sweep-hyperparameter-on-x-axis/8689/1 "2025-01-02T16:14:37Z")

</div>

I am working on a Weights & Biases report to share with my research group. I’ve noticed that it’s not possible to set the x-axis of a line plot to a hyperparameter from your sweep. The available options are limited to steps, logged metrics, and similar parameters.

For instance, I have a grid-search sweep that explores various configurations for my model, including different hidden sizes. I would like to visualize the results of my runs with respect to the hidden size, rather than the step (see example below).

 ![example_panel](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/2X/2/287985f78d0af190b649797fa825c11bca0191eb.png)

Is it possible to do this? If not, I am open to suggestions. By the way, I know I could do this with the scatter plot, but I don’t like the result from a graphical standpoint.

Thanks in advance.  
MP
