The ‘Replace’ button was disabled in the Plot Setup dialog which disabled replacing 3D/Contour plots data with another matrix dataset.
The button is activated now in Origin 2023.
Select a Graph and then choose Graph>Plot Setup
Select a matrix book to substitute on the top panel and mark the checkbox for it in middle panel
==> Replace button is disabled
Fixed in Origin2023