Closed murych closed 5 years ago
The \pgfimage
looks correct, tikzDevice should have created a file with the name 3_2_ras1.png
. Maybe it ended up in the wrong directory?
Hi @murych,
I am not able to reproduce this error with the code and example data you provided. However, I could observe the same errors when I deleted the 3_2_ras1.png
file that @krlmlr mentioned.
Please check if this file lies in the same folder as the 3_2.tex
.
Seem like I haven't noticed 3_2_ras1.png
in project directory. @krlmlr , @bellackn thanks for pointing out my mistake. I am really sorry about replying for too long.
Trying to plot some lines, that differs from each other by
Uf
parameter. R creates a colorbar of Uf values, but TikZ device doesn't convert it to TikZ format. Instead it creates a rectangle and put\pgfimage
inside of it (example below).Sample data:
R code for plotting:
R plot sample
![R plot](https://i.imgur.com/v2fHzmx.png)
Part of TikZ file, containing problematic code
XeTeX output
XeTeX plot result (tweaked axis labels a bit to use this plot in my course work)
![LaTeX plot](https://i.imgur.com/L3GrrIe.png)