06-24-2024 04:07 AM
Salve a tutti,
come posso graficare un XY graph partendo da una matrice dati che raggruppa più serie, ognuna con lunghezza righe differente.
Se uso la normale procedure il file XY mi crea "linee"che (nei dati con righe di lughezza minore) mi tornano a valore 0.
Grazie
06-24-2024 04:55 AM
Hi fmichi,
@fmichi wrote:
Hello everyone,
how can I graph an XY graph starting from a data matrix that groups together multiple series, each with a different row length.
If I use the normal procedure, the XY file creates "lines" which (in data with shorter rows) return to a value of 0.
You should create your plots without those additional "0" values.
Unfortunately we cannot debug your image: what is a "normal procedure"?
07-04-2024 07:22 AM
Thanyou.
yes I know that the solution is to not use additional "0".
the problem is that I have a Matrix with severl couples of X and Y datas, that have different row lenght
any suggestion?
07-04-2024 08:42 AM
Hi fmichi,
@fmichi wrote:
the problem is that I have a Matrix with severl couples of X and Y datas, that have different row lenght any suggestion?
A "matrix" is a special datatype in LabVIEW, used for matrix math…
So I guess you talk about a plain 2D array, don't you?
How does your 2D array of "several couples of X/Y data" look like, especially when they have different row lengths? (You forgot to attach code or even an image of code this time!)
Generic answer: