The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Annotation tool peculiarity

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
cvhorie Posted - 09/20/2009 : 1:00:54 PM
Origin Ver. and Service Release 8 sr6
Operating System: XP

I wish to annotate points in a ternary plot with the row number. The annotation tool works only when the numbers are scaled 0-1, but not 0-100.

Table below: X2=X1/100 etc. (tabs have converted to spaces in the mssage)
When X2-Z2 are plotted on a ternary grid, the annotation tool gives the data display and also, when double clicked, inserts a data point label which can be edited. If I rescale the tick labels->divide by factor to 0.01, the scales go to 0-100 - and the annotation tool still works.
When X1-Z1 are plotted on a ternary grid, the annotation tool gives only data display, even though the scale has been automatically rescaled by Origin to 0-1. If I rescale the tick labels->divide by factor to 0.01, the scales go to 0-100 - and the annotation tool still does not work!

How can annotation be enabled for 0-100 data? An obvious work round will be to divide all the data/100.

A few subsidiaries that arose in working through this.
1. Is there a way to list and interrogate all the objects defined in a layer? (I was trying to compare the settings of objects when comparing plots which worked/did not).
2. When I used layer -ilR %C; (c.f. Help->How do I label the data points in my graph with the x, y values?) to label each point by its row number, the output was peculiar, with numbers (and sometimes lines) being placed across the plot, not connected at all to the data points. This also "works" only with the data scaled 0-1.
3. Where can one control globally across the layer the references and formatting that are output in the annotation, in this case to show only the row number?
4. I do not want to use Plot Detail -> Row number numerics because the numbers overlap and do not indicate the data point. Annotation will allow the numbers to be offset (or omitted) to reduce overlap.
5. When one removes the annotation label, the joining line to the data point is not removed. It would be useful if they could be applied/removed together.
6. Can one ensure that the joining line is aligned towards the centre of the label? It is sometimes attaches to the top, bottom, or centre of the label text, depending on its relation to the data point.

X1 Y1 Z1 X2 Y2 Z2
100 0 0 1 0 0
100 0 0 1 0 0
99 0 1 0.99 0 0.01
98 1 1 0.98 0.01 0.01
96 2 2 0.96 0.02 0.02
90 0 10 0.9 0 0.1
84 7 9 0.84 0.07 0.09
81 5 14 0.81 0.05 0.14
81 5 14 0.81 0.05 0.14
90 3 7 0.9 0.03 0.07
97 0 3 0.97 0 0.03
90 5 5 0.9 0.05 0.05
79 4 17 0.79 0.04 0.17
80 8 12 0.8 0.08 0.12
59 37 4 0.59 0.37 0.04
56 33 11 0.56 0.33 0.11
59 21 20 0.59 0.21 0.2
67 12 21 0.67 0.12 0.21
66 34 0 0.66 0.34 0
68 12 20 0.68 0.12 0.2
76 24 0 0.76 0.24 0
60 29 11 0.6 0.29 0.11
72 19 9 0.72 0.19 0.09


Velson Horie
2   L A T E S T    R E P L I E S    (Newest First)
cvhorie Posted - 09/22/2009 : 3:06:06 PM
Thank you for your response. Have I entered unexplored ternary territory? Sorry about the repeated questions as I grope towards learning the software.

Velson Horie
AmandaLu Posted - 09/21/2009 : 07:24:12 AM
Hi,

It is a bug that annotation cannot work when the original data are scaled 0-100. Thank you for pointing out this bug. We have submitted a tracker, #14345, for it and will have it fixed in our future version.

1. To list all the objects in the current layer, you can use ¡°list o¡±. For more information about this LT script, please click the following link:

http://wiki.originlab.com/~originla/wiki/index.php?title=LabTalk:List_%28command%29#o.3B_List_all_objects_and_labels_in_the_current_layer

3. You can use copy format tool to control your label format conveniently. Customize your label text (for this case, change the variable notation from ¡°($(x), $(y))[$(i)]¡± to ¡°$(i)¡±). Right click on it and choose Copy Format: Text in the fly-out menu. And then right click on the blank of the graph, select Paste Format. All the label text in this layer will be adjusted according to the customized text format.

5.and 6. Thank you for your suggestion. We have submitted a tracker, #14346, for it and will have it implement in our future version.

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000