Reading PDF as TH1, TGraph etc

Hi experts,

Let’s say I have a PDF file on which a few TH1s are printed out on a TCanvas. One way or the other the styling of the plot is not suitable for my purposes, so I would like to redraw it with some other styling but keeping all other information the same. What would my options be in such a case, other than eyeballing the data points and errors? Maybe ROOT can do this already, and I’m just unaware of the method…

Cheers,
Afiq

Sorry, once you plot your data into a PDF file, it’s not easy to recover the data. You will need to use some tool like WebPlotDigitizer I’m afraid.

1 Like

If the changes are minor, like changing a color, you can convert the pdf into a ps and then edit the ps file. If that’s more complex than that you will need to reconstruct your histogram. Of course if you can have access to the original histogram that would be the best … :slight_smile:

Ain’t that the truth. But yeah, for the particular case I have in mind, I don’t have the originals.

I guess something like

somePDFPlot->ReadData();

is a bit too good to be true. I’ll check out the tricks mentioned here.

Thanks!

And other problem might be that, even if you convert the pdf into ascii, the data values you will find in the file will be some converted values in the coordinates space of the PDF file, not the value you read on the axis.

I had in mind a PDF file generated by ROOT and read back by ROOT, so I was assuming that ROOT knows the format. But ok seeing that such a facility doesn’t exist it’s a moot point…

May be post your pdf file and tell what kind of mods you needs.
PDF is output only there is no facility to read them back in ROOT.
To read images back you better store them in a ROOT file or in a .C file.

Sorry for the late reply; laptop decided to take a vacation…

Anyway, example PDF here. Let’s say I want the colors changed, marker size, the axes label sizes and maybe tick count, canvas margins to accommodate the larger labels, and the legend looks rather bad too… in other words I want a new plot of the same histogram.

I’m aware that in cases like these it’s much easier to save it also as a .C or .root file - this is indeed what I do now - but what I have in mind are plots that were made long before I had any form of backup practices, so yeah, their PDF files are all I have. Is there no way to prettify them? :confused:

emerg_eta.pdf (14.6 KB)

The part with the data is encoded in the binary output just after line 355 in your file.
It is not easy to get the value back from there. As you have only 6 points in that plot I guess
you can recreate easily the data just looking at the plot. But that’s valid if you
have a small amount of such plots. For more plot you will need to automate the process. A tool like qpdf will allow to generate an ascii version of the file but then you have to retrieve in the file where the data are… They are converted into the pdf coordinates (integer) so that’s not easy to retrieve. Attached is the file in ascii converted using qdf.
out.pdf (33.1 KB)

First, thanks for introducing me to a new tool I was unaware about: qpdf.

Second, what was the command you used to get the file “just after line 355” for the data points? I tried both opening the original file with emacs and also qpdf --qdf file - and both gave me something gibberish (although the latter looked much better).

Some plots I needed to update do have a lot of points, and drawn with a few “same” so eyeballing them ain’t gonna work, and as long as I can have a systematic way to read back the data I can deal with remaking this histograms as painful as that is, so if I can get some pointers on say:
1- where the axes and points start and end
2- how the coordinate system works (has to be linear translation… right?)

…then I can go on a sidequest to recover these guys (and making triple sure I won’t have to go through such horrors again).

The command i used to convert the binary is:

 qpdf  --qdf --object-streams=disable emerg_eta.pdf  out.pdf

But as I said the values are then integer you need to convert back. And to convert back you would need to know the original user coordinates system, and this is lost in the pdf…

The the ascii file the part drawing the error bars is:

stream
1 0 0 1 572 255 cm 0 1 -1 0 0 0 cm 1.5 w 1 1 1 RG 1 1 1 rg /ca1.00 gs /CA1.00 gs q 0.002 w [] 0 d 0 0 566.929 551.591 re b* Q 0.75 w q 0.002 w [] 0 d 34.0157 46.8853 515.906 449.547 re b* Q 0 0 0 RG 0 0 0 rg 34.0157 46.8853 515.906 449.547 re S 1.5 w 34.0157 46.8853 m 549.921 46.8853 l S 34.0157 496.432 m 549.921 496.432 l S 34.0157 46.8853 m 34.0157 496.432 l S [ 1 2] 0 d 0.75 w 549.921 132.487 m 34.0157 132.487 l S 549.921 218.131 m 34.0157 218.131 l S 549.921 303.775 m 34.0157 303.775 l S 549.921 389.42 m 34.0157 389.42 l S 549.921 475.064 m 34.0157 475.064 l S 549.921 132.487 m 34.0157 132.487 l S 549.921 475.064 m 34.0157 475.064 l S [] 0 d 1.5 w 549.921 46.8853 m 549.921 496.432 l S 34.0157 46.8853 m 139.353 46.8853 l 139.353 46.8853 l 188.787 46.8853 l 188.787 46.8853 l 291.969 46.8853 l 291.969 46.8853 l 395.15 46.8853 l 395.15 46.8853 l 444.584 46.8853 l 444.584 46.8853 l 549.921 46.8853 l S 34.0157 46.8853 m 549.921 46.8853 l S q 0 0 566.929 551.591 re W n 1 0 0 1 542.502 17.61 cm BT /F12 13.6336 Tf (h) Tj ET Q 34.0157 61.9437 m 34.0157 46.8853 l S 44.3339 54.4145 m 44.3339 46.8853 l S 54.652 54.4145 m 54.652 46.8853 l S 64.9701 54.4145 m 64.9701 46.8853 l S 75.2882 54.4145 m 75.2882 46.8853 l S 85.6063 61.9437 m 85.6063 46.8853 l S 95.9244 54.4145 m 95.9244 46.8853 l S 106.243 54.4145 m 106.243 46.8853 l S 116.561 54.4145 m 116.561 46.8853 l S 126.879 54.4145 m 126.879 46.8853 l S 137.197 61.9437 m 137.197 46.8853 l S 147.515 54.4145 m 147.515 46.8853 l S 157.833 54.4145 m 157.833 46.8853 l S 168.151 54.4145 m 168.151 46.8853 l S 178.469 54.4145 m 178.469 46.8853 l S 188.787 61.9437 m 188.787 46.8853 l S 199.106 54.4145 m 199.106 46.8853 l S 209.424 54.4145 m 209.424 46.8853 l S 219.742 54.4145 m 219.742 46.8853 l S 230.06 54.4145 m 230.06 46.8853 l S 240.378 61.9437 m 240.378 46.8853 l S 250.696 54.4145 m 250.696 46.8853 l S 261.014 54.4145 m 261.014 46.8853 l S 271.332 54.4145 m 271.332 46.8853 l S 281.65 54.4145 m 281.65 46.8853 l S 291.969 61.9437 m 291.969 46.8853 l S 302.287 54.4145 m 302.287 46.8853 l S 312.605 54.4145 m 312.605 46.8853 l S 322.923 54.4145 m 322.923 46.8853 l S 333.241 54.4145 m 333.241 46.8853 l S 343.559 61.9437 m 343.559 46.8853 l S 353.877 54.4145 m 353.877 46.8853 l S 364.195 54.4145 m 364.195 46.8853 l S 374.513 54.4145 m 374.513 46.8853 l S 384.831 54.4145 m 384.831 46.8853 l S 395.15 61.9437 m 395.15 46.8853 l S 405.468 54.4145 m 405.468 46.8853 l S 415.786 54.4145 m 415.786 46.8853 l S 426.104 54.4145 m 426.104 46.8853 l S 436.422 54.4145 m 436.422 46.8853 l S 446.74 61.9437 m 446.74 46.8853 l S 457.058 54.4145 m 457.058 46.8853 l S 467.376 54.4145 m 467.376 46.8853 l S 477.694 54.4145 m 477.694 46.8853 l S 488.013 54.4145 m 488.013 46.8853 l S 498.331 61.9437 m 498.331 46.8853 l S 508.649 54.4145 m 508.649 46.8853 l S 518.967 54.4145 m 518.967 46.8853 l S 529.285 54.4145 m 529.285 46.8853 l S 539.603 54.4145 m 539.603 46.8853 l S 549.921 61.9437 m 549.921 46.8853 l S q 0 0 566.929 551.591 re W n 1 0 0 1 27.8352 33.5159 cm BT /F4 13.0655 Tf (2.5) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 20.4503 33.5159 cm BT /F12 13.0655 Tf (-) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 85.2098 33.5159 cm BT /F4 13.0655 Tf (2) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 77.8249 33.5159 cm BT /F12 13.0655 Tf (-) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 131.223 33.5159 cm BT /F4 13.0655 Tf (1.5) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 123.838 33.5159 cm BT /F12 13.0655 Tf (-) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 189.166 33.5159 cm BT /F4 13.0655 Tf (1) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 182.349 33.5159 cm BT /F12 13.0655 Tf (-) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 234.611 33.5159 cm BT /F4 13.0655 Tf (0.5) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 227.226 33.5159 cm BT /F12 13.0655 Tf (-) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 288.009 33.5159 cm BT /F4 13.0655 Tf (0) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 334.022 33.5159 cm BT /F4 13.0655 Tf (0.5) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 391.965 33.5159 cm BT /F4 13.0655 Tf (1) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 437.41 33.5159 cm BT /F4 13.0655 Tf (1.5) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 494.785 33.5159 cm BT /F4 13.0655 Tf (2) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 540.798 33.5159 cm BT /F4 13.0655 Tf (2.5) Tj ET Q 34.0157 496.432 m 549.921 496.432 l S 34.0157 481.374 m 34.0157 496.432 l S 44.3339 488.903 m 44.3339 496.432 l S 54.652 488.903 m 54.652 496.432 l S 64.9701 488.903 m 64.9701 496.432 l S 75.2882 488.903 m 75.2882 496.432 l S 85.6063 481.374 m 85.6063 496.432 l S 95.9244 488.903 m 95.9244 496.432 l S 106.243 488.903 m 106.243 496.432 l S 116.561 488.903 m 116.561 496.432 l S 126.879 488.903 m 126.879 496.432 l S 137.197 481.374 m 137.197 496.432 l S 147.515 488.903 m 147.515 496.432 l S 157.833 488.903 m 157.833 496.432 l S 168.151 488.903 m 168.151 496.432 l S 178.469 488.903 m 178.469 496.432 l S 188.787 481.374 m 188.787 496.432 l S 199.106 488.903 m 199.106 496.432 l S 209.424 488.903 m 209.424 496.432 l S 219.742 488.903 m 219.742 496.432 l S 230.06 488.903 m 230.06 496.432 l S 240.378 481.374 m 240.378 496.432 l S 250.696 488.903 m 250.696 496.432 l S 261.014 488.903 m 261.014 496.432 l S 271.332 488.903 m 271.332 496.432 l S 281.65 488.903 m 281.65 496.432 l S 291.969 481.374 m 291.969 496.432 l S 302.287 488.903 m 302.287 496.432 l S 312.605 488.903 m 312.605 496.432 l S 322.923 488.903 m 322.923 496.432 l S 333.241 488.903 m 333.241 496.432 l S 343.559 481.374 m 343.559 496.432 l S 353.877 488.903 m 353.877 496.432 l S 364.195 488.903 m 364.195 496.432 l S 374.513 488.903 m 374.513 496.432 l S 384.831 488.903 m 384.831 496.432 l S 395.15 481.374 m 395.15 496.432 l S 405.468 488.903 m 405.468 496.432 l S 415.786 488.903 m 415.786 496.432 l S 426.104 488.903 m 426.104 496.432 l S 436.422 488.903 m 436.422 496.432 l S 446.74 481.374 m 446.74 496.432 l S 457.058 488.903 m 457.058 496.432 l S 467.376 488.903 m 467.376 496.432 l S 477.694 488.903 m 477.694 496.432 l S 488.013 488.903 m 488.013 496.432 l S 498.331 481.374 m 498.331 496.432 l S 508.649 488.903 m 508.649 496.432 l S 518.967 488.903 m 518.967 496.432 l S 529.285 488.903 m 529.285 496.432 l S 539.603 488.903 m 539.603 496.432 l S 549.921 481.374 m 549.921 496.432 l S 34.0157 46.8853 m 34.0157 496.432 l S q 0 0 566.929 551.591 re W n 0 1 -1 0 11.3613 437.978 cm BT /F4 13.6336 Tf (Efficiency) Tj ET Q 47.8772 132.487 m 34.0157 132.487 l S 40.9465 153.898 m 34.0157 153.898 l S 40.9465 175.309 m 34.0157 175.309 l S 40.9465 196.72 m 34.0157 196.72 l S 47.8772 218.131 m 34.0157 218.131 l S 40.9465 239.542 m 34.0157 239.542 l S 40.9465 260.953 m 34.0157 260.953 l S 40.9465 282.364 m 34.0157 282.364 l S 47.8772 303.775 m 34.0157 303.775 l S 40.9465 325.186 m 34.0157 325.186 l S 40.9465 346.598 m 34.0157 346.598 l S 40.9465 368.009 m 34.0157 368.009 l S 47.8772 389.42 m 34.0157 389.42 l S 40.9465 410.831 m 34.0157 410.831 l S 40.9465 432.242 m 34.0157 432.242 l S 40.9465 453.653 m 34.0157 453.653 l S 47.8772 475.064 m 34.0157 475.064 l S 47.8772 132.487 m 34.0157 132.487 l S 40.9465 111.076 m 34.0157 111.076 l S 40.9465 89.6646 m 34.0157 89.6646 l S 40.9465 68.2535 m 34.0157 68.2535 l S 47.8772 475.064 m 34.0157 475.064 l S q 0 0 566.929 551.591 re W n 1 0 0 1 13.0655 127.815 cm BT /F4 13.0655 Tf (0.2) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 12.4974 213.024 cm BT /F4 13.0655 Tf (0.4) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 12.4974 298.802 cm BT /F4 13.0655 Tf (0.6) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 12.4974 384.58 cm BT /F4 13.0655 Tf (0.8) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 25.5629 470.358 cm BT /F4 13.0655 Tf (1) Tj ET Q 549.921 46.8853 m 549.921 496.432 l S 536.06 132.487 m 549.921 132.487 l S 542.991 153.898 m 549.921 153.898 l S 542.991 175.309 m 549.921 175.309 l S 542.991 196.72 m 549.921 196.72 l S 536.06 218.131 m 549.921 218.131 l S 542.991 239.542 m 549.921 239.542 l S 542.991 260.953 m 549.921 260.953 l S 542.991 282.364 m 549.921 282.364 l S 536.06 303.775 m 549.921 303.775 l S 542.991 325.186 m 549.921 325.186 l S 542.991 346.598 m 549.921 346.598 l S 542.991 368.009 m 549.921 368.009 l S 536.06 389.42 m 549.921 389.42 l S 542.991 410.831 m 549.921 410.831 l S 542.991 432.242 m 549.921 432.242 l S 542.991 453.653 m 549.921 453.653 l S 536.06 475.064 m 549.921 475.064 l S 536.06 132.487 m 549.921 132.487 l S 542.991 111.076 m 549.921 111.076 l S 542.991 89.6646 m 549.921 89.6646 l S 542.991 68.2535 m 549.921 68.2535 l S 536.06 475.064 m 549.921 475.064 l S 1 1 1 RG 1 1 1 rg q 0.002 w [] 0 d 149.413 511.867 268.104 23.1771 re b* Q 0 0 0 RG 0 0 0 rg q 0 0 566.929 551.591 re W n 1 0 0 1 398.214 518.644 cm BT /F12 17.61 Tf (h) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 158.49 518.644 cm BT /F6 17.61 Tf (Working Point Efficiency vs ) Tj ET Q 0 0.8 0 RG 0 0.8 0 rg 84.4123 368.607 m 34.0157 368.607 l S 34.0157 367.471 m 34.0157 369.743 l S 88.9568 368.607 m 139.353 368.607 l S 139.353 367.471 m 139.353 369.743 l S 86.6845 370.879 m 86.6845 378.388 l S 85.5484 378.388 m 87.8207 378.388 l S 86.6845 366.334 m 86.6845 358.825 l S 85.5484 358.825 m 87.8207 358.825 l S 161.798 368.384 m 139.353 368.384 l S 139.353 367.248 m 139.353 369.52 l S 166.343 368.384 m 188.787 368.384 l S 188.787 367.248 m 188.787 369.52 l S 164.07 370.656 m 164.07 379.355 l S 162.934 379.355 m 165.206 379.355 l S 164.07 366.112 m 164.07 357.413 l S 162.934 357.413 m 165.206 357.413 l S 238.106 407.591 m 188.787 407.591 l S 188.787 406.455 m 188.787 408.727 l S 242.65 407.591 m 291.969 407.591 l S 291.969 406.455 m 291.969 408.727 l S 240.378 409.863 m 240.378 413.753 l S 239.242 413.753 m 241.514 413.753 l S 240.378 405.318 m 240.378 401.428 l S 239.242 401.428 m 241.514 401.428 l S 341.287 425.228 m 291.969 425.228 l S 291.969 424.092 m 291.969 426.364 l S 345.831 425.228 m 395.15 425.228 l S 395.15 424.092 m 395.15 426.364 l S 343.559 427.5 m 343.559 430.433 l S 342.423 430.433 m 344.695 430.433 l S 343.559 422.956 m 343.559 420.023 l S 342.423 420.023 m 344.695 420.023 l S 417.594 416.448 m 395.15 416.448 l S 395.15 415.312 m 395.15 417.584 l S 422.139 416.448 m 444.584 416.448 l S 444.584 415.312 m 444.584 417.584 l S 419.867 418.72 m 419.867 425.524 l S 418.73 425.524 m 421.003 425.524 l S 419.867 414.176 m 419.867 407.372 l S 418.73 407.372 m 421.003 407.372 l S 494.98 346.259 m 444.584 346.259 l S 444.584 345.122 m 444.584 347.395 l S 499.525 346.259 m 549.921 346.259 l S 549.921 345.122 m 549.921 347.395 l S 497.252 348.531 m 497.252 356.346 l S 496.116 356.346 m 498.389 356.346 l S 497.252 343.986 m 497.252 336.171 l S 496.116 336.171 m 498.389 336.171 l S 0.75 w 84.4123 368.607 m 84.4123 371.636 88.9568 371.636 88.9568 368.607 c 88.9568 365.577 84.4123 365.577 84.4123 368.607 c h 161.798 368.384 m 161.798 371.414 166.343 371.414 166.343 368.384 c 166.343 365.355 161.798 365.355 161.798 368.384 c h 238.106 407.591 m 238.106 410.62 242.65 410.62 242.65 407.591 c 242.65 404.561 238.106 404.561 238.106 407.591 c h 341.287 425.228 m 341.287 428.258 345.831 428.258 345.831 425.228 c 345.831 422.198 341.287 422.198 341.287 425.228 c h 417.594 416.448 m 417.594 419.478 422.139 419.478 422.139 416.448 c 422.139 413.418 417.594 413.418 417.594 416.448 c h 494.98 346.259 m 494.98 349.288 499.525 349.288 499.525 346.259 c 499.525 343.229 494.98 343.229 494.98 346.259 c h f 1.5 w 84.4123 368.607 m 34.0157 368.607 l S 34.0157 367.471 m 34.0157 369.743 l S 88.9568 368.607 m 139.353 368.607 l S 139.353 367.471 m 139.353 369.743 l S 86.6845 370.879 m 86.6845 378.388 l S 85.5484 378.388 m 87.8207 378.388 l S 86.6845 366.334 m 86.6845 358.825 l S 85.5484 358.825 m 87.8207 358.825 l S 161.798 368.384 m 139.353 368.384 l S 139.353 367.248 m 139.353 369.52 l S 166.343 368.384 m 188.787 368.384 l S 188.787 367.248 m 188.787 369.52 l S 164.07 370.656 m 164.07 379.355 l S 162.934 379.355 m 165.206 379.355 l S 164.07 366.112 m 164.07 357.413 l S 162.934 357.413 m 165.206 357.413 l S 238.106 407.591 m 188.787 407.591 l S 188.787 406.455 m 188.787 408.727 l S 242.65 407.591 m 291.969 407.591 l S 291.969 406.455 m 291.969 408.727 l S 240.378 409.863 m 240.378 413.753 l S 239.242 413.753 m 241.514 413.753 l S 240.378 405.318 m 240.378 401.428 l S 239.242 401.428 m 241.514 401.428 l S 341.287 425.228 m 291.969 425.228 l S 291.969 424.092 m 291.969 426.364 l S 345.831 425.228 m 395.15 425.228 l S 395.15 424.092 m 395.15 426.364 l S 343.559 427.5 m 343.559 430.433 l S 342.423 430.433 m 344.695 430.433 l S 343.559 422.956 m 343.559 420.023 l S 342.423 420.023 m 344.695 420.023 l S 417.594 416.448 m 395.15 416.448 l S 395.15 415.312 m 395.15 417.584 l S 422.139 416.448 m 444.584 416.448 l S 444.584 415.312 m 444.584 417.584 l S 419.867 418.72 m 419.867 425.524 l S 418.73 425.524 m 421.003 425.524 l S 419.867 414.176 m 419.867 407.372 l S 418.73 407.372 m 421.003 407.372 l S 494.98 346.259 m 444.584 346.259 l S 444.584 345.122 m 444.584 347.395 l S 499.525 346.259 m 549.921 346.259 l S 549.921 345.122 m 549.921 347.395 l S 497.252 348.531 m 497.252 356.346 l S 496.116 356.346 m 498.389 356.346 l S 497.252 343.986 m 497.252 336.171 l S 496.116 336.171 m 498.389 336.171 l S 0.75 w 84.4123 368.607 m 84.4123 371.636 88.9568 371.636 88.9568 368.607 c 88.9568 365.577 84.4123 365.577 84.4123 368.607 c h 161.798 368.384 m 161.798 371.414 166.343 371.414 166.343 368.384 c 166.343 365.355 161.798 365.355 161.798 368.384 c h 238.106 407.591 m 238.106 410.62 242.65 410.62 242.65 407.591 c 242.65 404.561 238.106 404.561 238.106 407.591 c h 341.287 425.228 m 341.287 428.258 345.831 428.258 345.831 425.228 c 345.831 422.198 341.287 422.198 341.287 425.228 c h 417.594 416.448 m 417.594 419.478 422.139 419.478 422.139 416.448 c 422.139 413.418 417.594 413.418 417.594 416.448 c h 494.98 346.259 m 494.98 349.288 499.525 349.288 499.525 346.259 c 499.525 343.229 494.98 343.229 494.98 346.259 c h f 1.5 w 1 1 1 RG 1 1 1 rg q 0.002 w [] 0 d 323.15 57.9171 206.929 55.1591 re b* Q 0 0 0 RG 0 0 0 rg q 0 0 566.929 551.591 re W n 1 0 0 1 348.792 65.8956 cm BT /F4 15.9058 Tf (WPTight16) Tj ET Q 0 0.8 0 RG 0 0.8 0 rg 327.03 71.7069 m 345.136 71.7069 l S 0.75 w 333.81 71.7069 m 333.81 74.7366 338.355 74.7366 338.355 71.7069 c 338.355 68.6772 333.81 68.6772 333.81 71.7069 c h f 1.5 w 1 1 1 RG 1 1 1 rg q 0.002 w [] 0 d 149.413 511.867 268.104 23.1771 re b* Q 0 0 0 RG 0 0 0 rg q 0 0 566.929 551.591 re W n 1 0 0 1 398.214 518.644 cm BT /F12 17.61 Tf (h) Tj ET Q q 0 0 566.929 551.591 re W n 1 0 0 1 158.49 518.644 cm BT /F6 17.61 Tf (Working Point Efficiency vs ) Tj ET Q
endstream

The deeper the discussion goes in the less I think this is feasible. The part with error bars is particularly despairing; I see nothing about the line that indicates to me it’s about the error bars. Was hoping for there to be a kind of identifier that lets me grab the axes and such, then a procedure for automatizing it at least becomes clear.

I guess it’s time to check out WebPlotDigitizer.

Yes, i told you, that’s not the right way … I am not sure you will be able to really change the geometry. Changing colour, line width title place is fine … but for the rest that’s not an easy task.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.