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
 Zoom Plot for IDM_PLOT_CONTOUR

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
dkudlay Posted - 12/04/2009 : 6:33:42 PM
The wiki has code for IDM_PLOT_LINE, when I try to plot a IDM_PLOT_CONTOUR type chart, the Zoom rectangle never appears on the primary graph. Am I missing something?
2   L A T E S T    R E P L I E S    (Newest First)
dkudlay Posted - 12/07/2009 : 12:46:53 PM
Thank you Iris, the only thing is that once the background is gone it is harder to grab the rectangle. Is there an Opaque switch that will leave the graph area visible but will allow to grab the rectangle as well? That's not a big priority just thought I'd ask.
Iris_Bai Posted - 12/06/2009 : 10:11:04 PM
Hi,

This because there are many space white area in line plot graph, so can set BehindData.nVal to 1. But for contour plot, there is not white area, so need set BehindData.nVal to 0 to not behind of data plot, and need to set fill color as NONE.

    // set border color to red and increame line width to make border clear more
    tr.Root.Border.Color.nVal = SYSCOLOR_RED;
    tr.Root.Border.Width.dVal = 3;
    
    tr.Root.Fill.Color.nVal = -4; // no fill color
    tr.Root.BehindData.nVal = 0; // set graph object not back of data


Iris

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