tiff file dp1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

tiff file dp1

Rory Conolly
running Octave 6.2, Windows 10

Have this code:

     figure (1);
     clf reset;
     semilogy(concs, DPX_DR_exog,'k-','LineWidth',2)
     xlim([0 7.5])
     ylim([1.e-6 1.0])
     hold on
     semilogy(concs,DPX_DR_endo,'k--','LineWidth',2)
     semilogy(concs,dG_DR_endo,'k:','LineWidth',2)
     semilogy(concs,dG_DR_exog,'k-.','LineWidth',2)
     xlabel('ppm formaldehyde')
     ylabel('DPX/DG adducts (pmol/mm^3)')
     set(0, "defaulttextfontname", "Helvetica")
     set(gca, "linewidth", 2, "fontsize", 18)
     print "-dtiff" "-r600" "Dosimetry_fig_4"

I think the print command in the last line should create a tiff file with 600 dpi resolution. The fiff file is created OK, but it has 96 dpi resolution, when I check it's properties tag. The file size does increase when I increase the -rNUM parameter, but the dpi stays at 96. 

Your guidance will be appreciated!

- Rory
   

 


Reply | Threaded
Open this post in threaded view
|

Re: tiff file dp1

Dmitri A. Sergatskov


On Fri, Mar 5, 2021 at 12:13 AM Rory Conolly <[hidden email]> wrote:

I think the print command in the last line should create a tiff file with 600 dpi resolution. The fiff file is created OK, but it has 96 dpi resolution, when I check it's properties tag. The file size does increase when I increase the -rNUM parameter, but the dpi stays at 96. 

Your guidance will be appreciated!

There is no page information in the tiff size. So "resolution" number is kind of meaningless. You get 96 dpi because your screen
most likely is 96 dpi. The size of a similar picture  that i got is 3501x2625 pixels or 5.8x4.4in assuming 600 dpi, which is a
reasonable size for the picture in an article. Personally I would send then picture in pdf format and let them convert
how they want it.

 

- Rory
 

Dmitri.
--


Reply | Threaded
Open this post in threaded view
|

Re: tiff file dp1

Francesco Potortì
In reply to this post by Rory Conolly
>     print "-dtiff" "-r600" "Dosimetry_fig_4"
>
>I think the print command in the last line should create a tiff file with
>600 dpi resolution. The fiff file is created OK, but it has 96 dpi
>resolution, when I check it's properties tag. The file size does increase
>when I increase the -rNUM parameter, but the dpi stays at 96.

If the file size increases, most likely this means the picture is
larger.  So, once it is resized, the resolution is higher, which is what
you want.  Have you tried opening the picture and see how it looks like?

--
Francesco Potortì (ricercatore)        Voice:  +39.050.621.3058
ISTI - Area della ricerca CNR          Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa         Skype:  wnlabisti
(gate 20, 1st floor, room C71)         Web:    http://fly.isti.cnr.it