Versions Compared

Key

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

...

Use discrete as plot scale type to skip weekend when plotting

This is useful for plotting stock price data where Saturday and Sunday should be ignored. Use Discrete as scale type preserves the continuity of the plotted data points.

Image RemovedWhen plotting financial graph where there is no trading on weekends and holidays, there used to be a gap in axis.

But now in Origin 2016, by using Discrete scale type, there will be no such gaps and the data will look more cotinuous.

This is the default setting for all plot types under Plot: Stock: menu.

Image Added

If Discrete is set as scale type, plot shows discontinuity at weekends.

Image Removed

 

If dataset no gap between candle sticks.

Image Added

Old way: Axis Scale is Linear, there are gaps on weekend and holidays.

Image Added

Basically if Discrete is set as scale type, missing data is not plotted and continuity preserves.

Image RemovedImage Added

Add a Line option under Plot: Stock menu and the toolbar
If make line plot with Plot:Stock:Plot, x axis scale type is set to discrete by default.
Image RemovedImage Added