How can I rectify the issue of figure not displaying curve the right way?

16 visualizaciones (últimos 30 días)
MUHAMMED-AWWAL
MUHAMMED-AWWAL el 11 de Ag. de 2025
Comentada: Star Strider el 19 de Ag. de 2025 a las 11:15
The displayed figure for validating feedforward network i trained on ubuntu using R2025a is showing random dashes instead of a solid curve, any approach to solving this pls?

Respuestas (1)

Star Strider
Star Strider el 11 de Ag. de 2025
I am not exactly certain what the problem is (not enough information), however increasing the LineWidth could be a solution, folloowing up on this post.
imshow(imread('Screenshot fro... 12-15-46.png'))
.
  2 comentarios
MUHAMMED-AWWAL
MUHAMMED-AWWAL el 19 de Ag. de 2025 a las 7:45
I tried that out but it still persist. I was thinking, could they be any package I'm supposed to install on ubuntu, needed to display the figure in the right?
Star Strider
Star Strider el 19 de Ag. de 2025 a las 11:15
It would be helpful to have your code. (and data files if necessary) I run Ubuntu 24.04 and I have never seen the problem you illustrate.
Since the display itself is apparently not the problem, look at your data, specifically using something like this:
nrnans_x = nnz(isnan(YourXdata))
nrnans_y = nnz(isnan(YourYdata))
The only thing I can think of is that the data have NaN values in them, and NaN values do not plot. (NaN values are 0/0, Inf/Inf, or NaN values in earlier calculations or data.)

Iniciar sesión para comentar.

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by