01-21-2015 03:38 PM
Hi I am new to this forum and i have a question, which I can't manage to solve on my own.
For an assignment for school i need to create a program which can tell the diffrence between english and dutch languague. I want to solve this problem comparing the specific amount of letters used in the tekst. for example the letter e fills on average 18,91% of the duch teksts and 12,7% of english teksts. I think i can make it trough the comparing system. Though there is something I can't find in any tutorial of walktrough. I make use of waveform graphs which I will later compare. I've got all the letters listed on the X-axis and the matching percentage it's found in the tekst on the Y-axis. The problem is, right now numbers are displayed on the X-axis... 0 to 26 to be precise. Is it possible to change those numbers into letters? if so. how?
Solved! Go to Solution.
01-21-2015 06:09 PM
I don't think you can do this. I know that even in some examples the x-axis is just hidden and there is just floating text (Stacked Bar Waveform Graph).
I remember helping a friend out with this because there was another example that made it seem possible. We looked for a bit and found nothing until we realized that they also just hid the x-axis and wrote in text in the appropriate places.
I would be interested to know if this was possible though. Because the x-axis range properties for min, max, start, and increment are all doubles I would guess that it isn't though.
01-21-2015 06:41 PM
@Jacobson-ni wrote:
I would be interested to know if this was possible though.
That's why we have this idea. 😄
(Also have a look at this recent discussion. Is he one of your classmates?)
01-22-2015 02:59 AM
Covering up the numbers is an idea ... though i have to make some graphs appear and some disappear in relation to the values that come out of a comparison to two arrays. making those letters appear and disappear on the exact same place is something I won't be able to do given my current knowledge of the program...
01-22-2015 03:58 AM
I hope your idea will be allowed! it seems almost inlogical not to have installed it in the first place... though I don't think i will have any profit of it now even if your idea gets approved.
and yes i do think that guy is from my class the assignments are quite alike
01-22-2015 04:27 AM
Hi,
Workaround for the reported issue.
VI attached.
2012 LV version
Regards,
Bijay
01-22-2015 11:48 AM
@altenbach wrote:
@Jacobson-ni wrote:
I would be interested to know if this was possible though.
That's why we have this idea. 😄
(Also have a look at this recent discussion. Is he one of your classmates?)
Thanks for pointing out the idea exchange post. I gave it a kudo even if it is pretty old.
The above idea of just grouping and locking a label and graph is probably the best solution.
01-22-2015 11:57 AM - edited 01-22-2015 11:58 AM
@Jacobson-ni wrote:
The above idea of just grouping and locking a label and graph is probably the best solution.
If the graph is never resized or modified (also ensure to uncheck "advanced...autoadjust scales"!) and the scale labels never change, this is a solution. I would probably used the graph caption for the axis instead of a free label, no grouping needed. It is also important to use a fixed-width font for the axis so the letters are spaced equally. If the marker labels have different numbers of characters, it gets harder to align them all with the exact position and you might have to use several free labels.