如果我只有一張照片,它是一些數據的繪圖,但沒有其原始數據。可以幫助建議如何使用該圖產生資料集嗎?
我的目的是產生一個可以代表其概況的資料集,並與其他人一起加入,然後可以製作一個新的圖將所有內容組合在一起。
可以使用jmp腳本或透過其基本功能工具嗎?多謝。

這是一個帶有另一個例子的線程 - JSL能否恢復曲線值?
乾杯,
布雷迪
我認為有很多未知的信息,所以可能沒有什麼好的答案。
- 這是平滑曲線嗎?
- 有多少個數據點?
- 數據的解析度是多少?
也許僅使用十字線工具和新的數據表就足以獲得 10 到 20 個點。
如果您認為繪製的線上有 100 個有效點,您可以使用一些 JSL 來恢復它們。 閱讀評論;研究結果並確保它們有意義。
//
// this is NOT a general solution; it is tailored for this particular bitmap
//
img = Open( "https://us.v-cdn.net/6038925/uploads/images/33300i4DE1ABDC20B74778/qspringleaf_1-1622996228420.png" );
New Window( "Make sure this is the right image", img ); // view the img
// work with r,g,b arrays of pixel data...
{r, g, b} = img << getpixels( "rgb" );
// https://community.jmp.com/t5/JSL-Cookbook/Using-Loc-with-a-2D-Matrix/ta-p/195207
// explains the 1D vs 2D matrix/loc stuff...
nr = N Rows( b );
nc = N Cols( b );
// using the MS paint eyedropper, the blue-est of the pixels in the blue line have rgb=(56,89,165)
bluelocs = (Loc( r < (60 / 255) & g < (95 / 255) & b > (160 / 255) ) - 1); // bluelocs is a matrix of 1D indexes (0-based)
blueRowlocs = Floor( (bluelocs) / nc ) + 1; // nc is the number of columns in the 2D pixmat
blueCollocs = Mod( (bluelocs), nc ) + 1; // rowlocs and collocs are 2D indexes (1-based)
// the grid lines have rgb=(215,215,215) (the frame is darker, 165,165,165)
gridlocs = (Loc( r == (215 / 255) & g == (215 / 255) & b == (215 / 255) ) - 1);
gridRowlocs = Floor( (gridlocs) / nc ) + 1; // nc is the number of columns in the 2D pixmat
gridCollocs = Mod( (gridlocs), nc ) + 1; // rowlocs and collocs are 2D indexes (1-based)
// locate the top, bottom, left, and right gray grid lines; their values are hard-coded below...
MINRAD = 5;
MAXRAD = 140;
MINTHK = 595;
MAXTHK = 715;
// CAUTION: this works because there is not a lot of other gray pixels of this shade.
// the while-loop removes a couple that get in the way.
// a different source graph will have different problems.
dtGRAY = As Table( gridRowlocs || gridCollocs, <<COLUMNNAMES></COLUMNNAMES>
Graph of recovered data from blue lineGraph of recovered data from blue line從藍線恢復的資料圖
這適用於您上傳的原始圖表,不適用於您最有可能在討論中看到的降低解析度的圖表。