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 for Programming
 Forum for Origin C
 Designate the symbol shape

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
wufengseu Posted - 03/11/2008 : 10:59:14 AM
Can I definitely designate the symbol as

e.g. solid square rather than the hollow square

int the same horizontal line in OC ?






Edited by - wufengseu on 03/12/2008 06:44:28 AM
4   L A T E S T    R E P L I E S    (Newest First)
wufengseu Posted - 03/18/2008 : 07:15:47 AM
Hi£¬Iris_Bai
immense thanks to you help.
you are right.
which settled the default/disadvantage of using the order of tree_get_node_by_nodeid.


quote:

Hi,

Please use ...Symbol.Interior.nVal = 7; to do this, .Symbol.Shapre. just to set the shape like square, circle, triangle...



Iris

Iris_Bai Posted - 03/13/2008 : 9:52:13 PM
Hi,

Please use ...Symbol.Interior.nVal = 7; to do this, .Symbol.Shapre. just to set the shape like square, circle, triangle...



Iris
wufengseu Posted - 03/13/2008 : 04:35:11 AM
Sorry, Must I made my question no clear, while I fails to upload the figure.

To depict it in more detai, following the Plot Detail Box -->symbol --->preview, e.g., there exist many similar symbols in every same line ¡ñ¡ð¡Ñ etc.
The command "...Symbol.Shape.nVal = value" is invalid in making symbol solely as ¡ñ , ¡ð or ¡Ñ, which reserves the default setting
property last used.

Hoping for the solution. Thanks a lot!


Edited by - wufengseu on 03/15/2008 10:34:31 PM
Iris_Bai Posted - 03/13/2008 : 02:40:55 AM
Hi,

Please look at the following codes, it shows how to setup symbol interior(can set solid to hollow), size, color and shape...


 
void show_how_to_setup_symbol()
{
GraphLayer gl = Project.ActiveLayer();
if(gl)
{
DataPlot dp = gl.DataPlots(0); //the first data plot
if(dp)
{
Tree trFormat;
trFormat = dp.GetFormat(FPB_STYLE);
trFormat.Root.Page.Layers.All.Curves.All.Symbol.Size.nVal = 20; //set the size of symbol
trFormat.Root.Page.Layers.All.Curves.All.Symbol.Shape.nVal = 1;// set symbol type to square

trFormat.Root.Page.Layers.All.Curves.All.Symbol.Interior.nVal = 1; // set Interior path to hollow
trFormat.Root.Page.Layers.All.Curves.All.Symbol.EdgeColor.nVal = SYSCOLOR_BLACK; // set fill color to none(white)
trFormat.Root.Page.Layers.All.Curves.All.Symbol.FillColor.nVal = SYSCOLOR_WHITE; // set fill color to none(white)

if(dp.ApplyFormat(trFormat))
{
out_str("success");
gl.GetPage().Refresh();
}
}
}
}


Iris

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