I'd like to include a figure in an open-source journal, which looks very similar to a figure already published in another paper (paper 1). My question is if I need to obtain the permission to reprint the figure, or, if a "based on paper 1" in the figure legend is sufficient for including the figure in my manuscript.
The figure is based on experimental data from another source (Example et al. 2018; see the example plot) and a line which shows the results with their code (code 1).
My figure uses the same experimental data, but another code (code 2), which makes use of data in the original paper (paper 1) and therefore has the exact same curve as code 1.
Thanks in advance!