Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Graphing

New Graph Types

...

JIRA

SUMMARY

DESCRIPTION

DETAILS

ORG-27177

Testing feature: Data Filter For Graph - hide by default @shdf=0

Graph based Data Filter without affecting worksheet

Turn on Data Slicer to set different filter condition on each graph without affecting worksheet data

image-20240730-154029.png
  • If there is already filter in worksheet before plotting graph, a prompt will be given

    image-20240730-154112.png
    • Show Data Slicer (old way) - changing filter in graph will affect worksheet and vice versa.

    • Convert worksheet filter to graph based will remove filter condition in worksheet and convert it into a graph based filter. Change filter condition will only apply to current graph

  • Click Filter to change filter condition; right click on a condition for more options including moving the condition orders, deleting the filter, etc.; right click in blank area below existing filters to add more filter conditions.

    image-20240730-182529.png

  • Related LabTalk Access

    • Command to convert graph with worksheet data filter to use graph based filter and take over the filters on worksheet

      Code Block
      languagecpp
      page -df; //convert to SDF
      //data filter still shows in source worksheet and row is hidden
      
      page -df 1;//convert to SDF and remove filter from source worksheet
      //no data filter in source worksheet and no row is hidden

      Similar to page -df, you can also try below command

      Code Block
      int nUID = layer.plot1.DF();
      nUID=;
    • To see datasets used in the dataplot, try below command

      Code Block
      list pl;
    • To show Graph Data Slicer pane, run below script

      Code Block
      page.cp.type = 5;
    • New LabTalk Object SDF is implemented to access the graph based filter used for the plot, says Shared Data Filters object.

      Code Block
      languagecpp
      //Suppose active graph plotting with graph based filter
      int nUID = layer.plot1.SDF;
      SDF ff = nUID;
      ff.wks$ =;//read-only, worksheet range, "[book2]sheet1"
      ff.enable =;//to allow temp disable
      ff.nf =;//read-only,number of columns to have filter
      ff.f1.col =;//first filter on which col
      ff.f1.filter$ =;//query string
      ff.f1.filterx$ =;//the x variable used inside the filter
      ff.Set(D:3:"between(18,23)");//replace col(D) filter if already existed
    • To retrieves the state of data filters in the active graph, use command

      Code Block
      languagecpp
      page -dfs nn;
      //nn = 0: no data filters detected
      //nn = 1: data filter present in at least one worksheet providing the data for at least one dataplot in the graph
      //nn = 2: shared data filter used by at least one dataplot in the graph
      //nn = -1: error

      or method

      Code Block
      nn = page.GetDF(str$);
      //str$ is a string variable to receive the worksheet range
    • When no data filter is used by any of dataplots, either as worksheet data filter or as a ShDF (execute the above command page -dfs nn; it must return 0), run below command to add a graph based filter.

      Code Block
      page -dfn ColNameOrNumber;
    • Create Shared Data Filters (ShDF)) from Worksheet

      • Define/Modify a Shared Data Filter from active worksheet

        Code Block
        languagecpp
        worksheet -shdf uidShDF [[colname:filtertype:filtercondition]]
        //uidShDF is the name of the LabTalk variable which will receive the UID of the created ShDF
      • Create virtual datasets using existing ShDF

        Code Block
        create name -vsshdf worksheetrange uidShDF;
      • Example

        Code Block
        fname$ = System.path.program$ + "Samples\Statistics\automobile.dat";
        newbook;
        impASC;
        worksheet -shdf uidShDF [[D:3:"between(16,23)"]];
        create myshdfvsy -vsshdf col(F) uidShDF;
        plotxy iy:=(C,myshdfvsy) plot:=202;
    • Command to dump Shared Data Filters in worksheet

      Code Block
      worksheet -shdfd;

ORG-28659

Error bar tooltip

The error bar tooltip provides numerical details of the range of uncertainty around data points in a graph.

The x and y error info shows when mousing over data points plotted with error bars, or when mousing over error bars.

image-20240531-201244.png

ORG-28723

Swap layers or swap graph objects

Select position of two layers, or two graphic objects

Swap position dropdown list is added on mini toolbar if two layers, or two graphic objects are selected.

It also shows on Object Edit toolbar on right side of workspace.

E.g. shift+select two layers and click the button.

image-20240716-082625.png

ORG-28721

Show Layer info in the Graphs list box

List Layer numbers in parenthesis after corresponding Graph name

This helps user to associate graphs and its layers in preview window when merging graphs

image-20240604-143759.png

ORG-29082

Add Note for Layout Window

Adding notes for layout window from Object Manager

Notes could only be added to graph window in Origin 2024b. In Origin 2025, notes can be added to layout window as well.

With Layout window active, click the Add Notes button on top of the Object Manager.

image-20240603-191939.png

If there is notes for a layout window, there will be + inside the icon. Click it to read the notes.

ORG-28263

3 List orders in Batch Plotting Dialog

More ways to sort available books and sheets in Batch Plotting dialog

There was no sorting order option in Batch Plotting dialog.

Before Origin 2024b, books show in creation order and sheets show in appearance order. In Origin 2024b, both books and sheets show in alphabetic order.

In Origin 2025, 3 sorting modes are added. Click the column header to toggle them.

  • Unsorted (default, old behavior before Origin 2024b)

  • Sort ascending (default in Origin 2024b)

  • Sort descending (similar sorting criteria as above type 2, but descending).

Note: Sheets in same book as source graph always show on top.

image-20240619-162850.pngimage-20240619-162938.pngimage-20240619-163002.png

ORG-28297

Plot Menu for Image Window

Support plot menu for floating image window.

Float the image window to the other monitor then check the Plot menu

ORG-29079

Remove the limitation of 16 color toolbar icon for custom toolbar

Supoort 32bit color toolbar icon in custom toolbar

Before Origin2025, only 16 color toolbar icons are supported. If you choose a 24bit or 32bit color image for custom toolbar and restart Origin, you will get Button group bitmaps must be 16 color message.

ORG-29031

Histogram Auto Binning improvement for arithmetic sequences

Histogram Auto Binning improvement for arithmetic sequences

When count(unique(input))<=10, we can sort the unique(input) and check if they are arithmetic sequences. In an arithmetic sequence, the difference between consecutive terms is always the same. If they are arithmetic sequences, assume the difference between consecutive terms is delta, bin size=delta, bin begin should be min-delta/2, bin end is max+delta/2.

Implemented in Origin2025.

ORG-16510

Smartly adjust ticks when zoom in the graph

Improve the rule of showing ticks to show better ticks values when zooming in

In Origin2025 before, improve the below case that sometimes too few ticks sometimes too many ticks

  1. Zoom in graph with hotkey/red dot

  2. Apply scale of ROI in image to graph

ORG-29207

Save To Cloud support for project files

Support saving project to cloud

Can save project to cloud by menu: File: Save Project to Cloud…

If there is existing opju file with same name on cloud, for OneDrive/SharePoint, will show dialog to ask replace or not; for Google Drive, save it directly.

...

JIRA

SUMMARY

DESCRIPTION

DETAILS

ORG-29195

Cell Border in Heatmap

Support turning cell border on and customize cell border color and thickness

This is useful for heatmap with gaps

  • Mini toolbar buttons to show cell border, border line color, increase/decrease line thickness

    image-20240530-213536.png

  • Border controls on Colormap tab of Plot Details dialog

    image-20240530-213758.png

ORG-28697

Interpolation for XY mapping for matrix contour plot

An option to interpolate the XY coordinate matrix data to be monotonic for for contour graphs plotted from matrix

There are cases Z data, X data and Y data are in different matrices. If Z data is plotted as contour, user can map XY coordinates in other matrices. If XY coordinate matrix are not monotonic, check the

image-20240613-181416.png

Corresponding LabTalk property layer.plot.paraminterp=1 to turn the interpolation on.

ORG-29142

All Frames from Same Image option when turn on browser panel of plots from such multi-frame image

If the heatmap/contour/image plot is plotted from image window, All Frames from Same Image is added in the browser panel.

Plot heatmap/contour/image plot from the image window, then click the Column Switching Browser Graph button on graph page’s mini toolbar. In the browser panel, click the triangle button to choose All Frames from Same Image to create and update the frame list.

ORG-28227

Support custom line style in 3D scatter and waterfall graph

Support line style modifier in 3D scatter and waterfall graph

We can set custom line style as 3D line style and border style of 3D waterfall

ORG-29508

Edit Multiple Axes

Multi-axis selection and mini toolbar

Select Multiple Axis lines, Multiple Tick Labels or Multiple Axis Titles and use improved mini toolbar to customize them together.

image-20240813-211735.png

In Object Manager, Axis node and subnodes shows and context menu is added for easy selection of different axis elements.

image-20240813-211656.png

ORG-29562

Tick Style on for Graph and Layer

Tick Style dropdown list added on page and layer mini toolbars

Click the mini toolbar on page level mini toolbarTo set to set same tick style for all axes in all layers.

image-20240903-152406.pngImage Added

Click the mini toolbar on layer level to set same tick style for all axis in current layer with same style

image-20240813-212243.pngImage Removed

Corresponding LabTalk Property for tick style in layer and whole graph page

  • layer.tickstyle

  • page

    Properties page.tickstyle and layer.tickstyle

    ORG-12760

    Added Break Band

    For Cartesian 2d graphs, Break Bank can be styled to wavy, straight line, or none.

    In any Cartesian 2d graph, in the mini toolbar of break, select Break Band to style your break.

    After selecting Wavy or Straight Line, 4 more addition buttons will appear in the mini toolbar to customize Break Band such as line style, line color, line width, and fill color.

    ORG-29314

    Control Box for Box Charts

    Added Bar chart box width option for sample size

    When creating a grouped bar chart, in Graph Template, select Box_Width by Sample Size. The box width will be determined by the sample size.

    If you already have a bar chart, go to Plot Details, and go to the Box tab. Check the Box Width by Parameter tab and choose <Sample Size> for Box width ( % ). Click apply and notice the box width is determined by the sample size.

    ORG-28664

    Pareto Chart Improvements

    • Improved symbol position

    • Added Line-Symbol Chart to also go through the Origin

    If you want to change the position of the symbol so it is not in the middle of the bar, in the dialog for pareto, check the Show Symbol at Right Side of Bar.

    image-20240826-211211.png

    Along with this change, the Line-Symbol will also go through the origin. These changes apply to both the raw and bin data.

    ORG-29343

    Legend should support all plot properties with index column

    Edge Bundling legend supports to show plot properties with index column

    In Edge Bundling plot, there is not way to automatically generate the legend for the color of the scatters and fonts. Fixed in Origin2025.

    ...