title: graphics shows me the figures with a black background, but when they are saved in the folder I defined, they are saved with a white background
body: <p><a href="https://i.stack.imgur.com/1DqrX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1DqrX.png" alt="Image"></a></p>
  
  <p>Why at the time of graphing shows me the figures with a black background, but when they are saved in the folder I defined, they are saved with a white background?
  i am using: </p>
  
  <pre><code>figure(1)
  pcolor(X./1000,Y./1000,real(Var))
  title(['RR [mm/h] - ', datestr(time(ii)), ' EL = ' ,num2str(elv)])
  shading flat
  caxis([0 30])
  axis([-60 60 -60 60])
  colorbar
  colormap(jet)
  set(gca,'Color','k')
  path='A:\Documentos\IGP\Radar PX_1000\Plots\260218\';
  gfile=[path,'R',datestr(time(ii),'ddmmyy_HHMMSS')]
  print(gfile,'-dpng','-r300')
  </code></pre>