30+
years serving the scientific and engineering community
Log In
Buy Now
Try Origin for Free
Watch Videos
English
日本語
Deutsch
Toggle navigation
Products
PRODUCTS
Origin
OriginPro
Origin Viewer
All products
Origin vs. OriginPro
What's new in latest version
Product literature
SHOWCASE
Applications
User Case Studies
Video Tutorials
Graph Gallery
Animation Gallery
3D Function Gallery
FEATURES
2D&3D Graphing
Peak Analysis
Curve Fitting
Statistics
Signal Processing
Key features by version
LICENSING OPTIONS
Node-locked(fixed seat)
Concurrent Network (Floating)
Dongle
Academic users
Student version
Commercial users
Government users
Non-Profit users
Why choose OriginLab
Who's using Origin
What users are saying
Published product reviews
Online Store
Get a quote/Ordering
Find a distributor
Apps
Data Import
CSV Connector
Excel Connector
HTML Connector
HDF Connector
NetCDF Connector
Import NMR Data
Import PDF Tables
Google Map Import
Import Shapefile
More...
Graphing
Graph Maker
Correlation Plot
Paired Comparison Plot
Venn Diagram
Taylor Diagram
Volcano Plot
Kernel Density Plot
Chromaticity Diagram
Heatmap with Dendrogram
More...
Publishing
Graph Publisher
Send Graphs to PowerPoint
Send Graphs to Word
Send Graphs to PDF
Send Graphs to OneNote
Movie Creator
Graph Anim
More...
Curve Fitting
Simple Fit
Speedy Fit
Piecewise Fit
Fit ODE
Fit Convolution
Rank Models
Fitting Function Library
Neural Network Regression
Polynomial Surface fit
Global Fit with Multiple Functions
More...
Peak Analysis
Simple Spectroscopy
Peak Deconvolution
Pulse Integration
Align Peaks
Global Peak Fit
PCA for Spectroscopy
2D Peak Analysis
Gel Molecular Weight Analyzer
More...
Statistics
SPC
DOE
Stats Advisor
PCA
RDA
Bootstrap Sampling
Time Series Analysis
Factor Analysis
General Linear Regression
Logistic Regression
SVM Classification
More...
How do Apps work in Origin?
Suggest a New App
Purchase
New Orders
Renew Maintenance
Upgrade Origin
Contact Sales(US & Canada only)
Find a Distributor
Licensing Options
Node-locked(fixed seat)
Concurrent Network (Floating)
Dongle
Academic users
Student version
Commercial users
Government users
Non-Profit users
Why choose OriginLab
Purchasing FAQ
Support
SERVICES
Transfer Origin to new PC
License/Register Origin
Consulting
Training
Renew Maintenance
SUPPORT
Support FAQ
Help Center
Contact Support
Support Policy
DOWNLOADS
Service Releases
Origin Viewer
Orglab Module
Product Literature
Origin Trial
All downloads
VIDEOS
Installation and Licensing
Introduction to Origin
All video tutorials
DOCUMENTATION
User Guide
Tutorials
Python Programming
OriginC Programming
LabTalk Programming
All documentation
Communities
User Forum
User File Exchange
About Us
OriginLab Corp.
News & Events
Careers
Distributors
Contact Us
Contact Us
Log In
Origin C Reference
>
Struct
>
Internal Origin Objects
>
Graph
All Books
Non-Programming Books
User Guide
Tutorials
Quick Help
Origin Help
Programming Books
X-Function
Origin C
LabTalk Programming
Python
Python (External)
Automation Server
LabVIEW VI
Apps
App Development
Code Builder
License
MOCA
Orglab
2.1.14.1 Graph
Graph-GlobalFunction
Functions
Name
Brief
Example
add_plots_to_layer
It adds one or more plots to a graph layer using data from a worksheet.
Examples
check_has_plotted_in_graph
Check the specified DataRange if has been plotted in specified GraphLayer
Examples
create_rect_object
Create a new rectangle graphic object in the given layer
Examples
dataplot_set_colormap
Set Colormap for a contour plot or any plot that supports a colormap
Examples
get_graph_layer
retrive the graph layer from the tree node
Examples
get_selected_data_plot
Get the index of the selected data plot in the active graph layer.
Examples
gpage_get_plots
Get Graphpage's DataPlots contents into a tree
Examples
graph_add_layer
Add new layer in graph page.
Examples
graphlayer_reset
Clear the data in the Graphlayer and Reset the Graphlayer.
Examples
is_3D_graph
To check if the graph layer is 3D graph.
Examples
is_linked_layer
Check if the graph layer is linked to another layer.
Examples
legend_append_plot
Append the string of one dataplot to legend
Examples
legend_combine
Combine legends of all layers and show on one layer
Examples
legend_update
Update a Graph Layer's legend and may also set the Auto Legend mode
Examples
okutil_access_graphobject_default
Access graph object's properties default value
Examples
okutil_get_col_by_ocolor
Get details about a plot color
Examples
okutil_get_increment_ocolor
Get increment color
Examples
okutil_get_internal_index_by_col
Get internal index (to set symbol shape, etc) for a plot by reference column
Examples
okutil_get_ocolor_by_col
Get the color value to make data plot colors(Color Mapping, Indexing, Direct RGB) follow the specified column value from the same worksheet
Examples
page_active_layer_index
Get the active layer number from the given page, if page is not the active window, then return -1
Examples
page_get_picture
Export graph page to picture holder
Examples
page_graph_get_info_tree
get info tree from a graph layer by looping through all the data plots in the given layer and find their corresponding workbook info tree
Examples
set_active_layer
add to TreeNode the name of the active graph page and the active layer number
Examples
set_contour_lines
Set lines color, style and thickness on Contour
Examples
set_show_axis
Show or hide axes on layer.
Examples
SetAsLayerBackground
Set inserted image as background.
Examples
update_plot_type
Update the plot type of data plot. If this data plot is grouped with other data plots, the others will be update too.
Examples
Skip Navigation Links
All Books
Origin C
Origin C Reference
Global Functions
Internal Origin Objects
Graph
User Guide
Tutorials
Quick Help
Origin Help
X-Function
Origin C
LabTalk Programming
Python
Python (External)
Automation Server
LabVIEW VI
Apps
App Development
Code Builder
License
MOCA
Orglab
Programming
Origin C Programming Guide
Origin C Reference
Examples
Origin Developer Kit
Build Dialogs using HTML and JavaScript
Global Functions
Classes
Macros
Typedef
Struct
Enum
Basic IO
Character and String Manipulation
COM
Communications
Curve
Data Conversion
Data Range
Date Time
File IO
File Management
Fitting
Image Processing
Import Export
Internal Origin Objects
LabTalk Interface
Math Functions
Mathematics
Matrix Conversion and Gridding
Memory Management
NAG Functions
Network
Signal Processing
Spectroscopy
Statistics
System
Tree
User Interface
Graph
Matrix
Page and Layer
Worksheet
add_plots_to_layer
check_has_plotted_in_graph
create_rect_object
dataplot_set_colormap
get_graph_layer
get_selected_data_plot
gpage_get_plots
graphlayer_reset
graph_add_layer
is_3D_graph
is_linked_layer
legend_append_plot
legend_combine
legend_update
okutil_access_graphobject_default
okutil_get_col_by_ocolor
okutil_get_increment_ocolor
okutil_get_internal_index_by_col
okutil_get_ocolor_by_col
page_active_layer_index
page_get_picture
page_graph_get_info_tree
SetAsLayerBackground
set_active_layer
set_contour_lines
set_show_axis
update_plot_type
English
|
Deutsch
|
日本語
© OriginLab Corporation. All rights reserved.
×
☐
_
Let's Chat