08-07-2024 07:37 AM
Hi,
I'd like to have a second graph that shows the data between the cursors on my main graph.
The second graph should display a subarray created from the values between the cursor indices.
However, the second graph doesn't seem to work.
Any idea why this might be happening?
08-07-2024 07:44 AM - edited 08-07-2024 07:46 AM
Hi Alex,
right-click your 2ndGraph and select "Transpose array"…
Both graphs should use the same properties!
You just learned you need to handle the data correctly in code instead of using some properties found in the context menu of the graph at edit time or a very seldomly used property node…
08-07-2024 09:40 AM
Thanks!
However, the time/date scale doesn't seem to update on the second graph as I move the cursors on the main graph.
08-07-2024 10:55 AM
Hi Alex,
@Alexb91 wrote:
However, the time/date scale doesn't seem to update on the second graph as I move the cursors on the main graph.
Should it change its x scale???
Do you change the x scale properties anywhere to fit with your first graph?
08-07-2024 11:34 PM
You need to stop going in circles with basically the same question over and over and over. Please keep it all on one place!
I also strongly recommend to NOT ever post a random program with "_MODCA" in the file name. This is a tag casually reserved for files that have been edited by me (i.e. "Modified by CA"). Posting random, non-working junk code with that tag is disrespectful. Please clean up your file names from now on. Thanks!
08-08-2024 03:58 AM
Understood.
My apologies!
08-09-2024 09:58 AM
I have another question.
I would like to append statistical information, such as the mean and standard deviation, at the bottom of each column in my Excel file.
I've successfully added the values to the array, but I'd like to include a blank row and a label (e.g., 'Mean:', 'Standard Deviation:') before each value so that it's clear when viewing the Excel file (see screenshots).
Do you have any suggestions on how to achieve this?
08-09-2024 10:18 AM
A numeric cannot be blank, so you should format your values and use an empty string as spacer element.
08-09-2024 10:24 AM
Thanks!
How can I format a string so that it appears as a string within an integer array?
08-09-2024 10:35 AM
Hi Alex,
@Alexb91 wrote:How can I format a string so that it appears as a string within an integer array?
You cannot have a string inside a numeric array.
But you can have any string in inside a string array!
Conclusion: work with an array of strings!