Saltar navegación

Topic

Change the name of the elements within a list

Página de inicio ' Community ' General ' Cambiar el nombre de los elementos de una lista

  • Este tema contiene Respuesta 1, Voces 2, y fue actualizado por última vez el Hace 6 años, 8 meses por Ber…ntz.
Viendo los mensajes de 2 - 1 a 2 (de 2 en total)
  • Autor
    Puestos
  • #34688
    Dar…Lim
    Participante

    Hi,

    I was wondering if there is a way i could change the name of the element inside a list.

    E.g. My list contains 7 elements and when i create a line graph of all 7 elements, each curve has the name ‘List1 , List2, etc..’ which forbids me to differentiate which curve belongs to which element.

     

    I tried using the AssignListElementNames but it keeps coming up with an error

     

    any advise is appreicated thanks!

    #34689
    Ber…ntz
    Keymaster

    Hi!

    What error message do you get? I tried a little example using three synthetic signals in a small formula:

    Dim SourceData = [ Signal, <B> Signal2, <C> Signal3]
    AssignListElementNames(SourceData, { "Sine", "Rectangle", "Triangle" })
    

    The resulting lists element names are those specified in the string dataset.

Viendo los mensajes de 2 - 1 a 2 (de 2 en total)
  • Debes estar registrado para responder a este tema.