Label axes?

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

Label axes?

Robert Dougherty
Dear All,

By now is there a good way to label the axes of an image for a publication? I once wrote a label_image plugin, but it is a bit dated and it looks like I don't even have it on my plugins page now.

Related question: is there an easy way to convert a Plot into .pdf for a journal?

Bob

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Label axes?

Wayne Rasband-2
> On Oct 24, 2020, at 6:01 PM, Robert Dougherty <[hidden email]> wrote:
>
> Dear All,
>
> By now is there a good way to label the axes of an image for a publication? I once wrote a label_image plugin, but it is a bit dated and it looks like I don't even have it on my plugins page now.
>
> Related question: is there an easy way to convert a Plot into .pdf for a journal?

I don’t know how to label the axes of an image for publication but you can convert a plot into a .pdf file using the File>Print command and choosing PDF as the output. To keep the plot from being cut off at the top on Windows, I needed to check “Rotate 90 degrees” in the File>Page Setup dialog.

-wayne

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Label axes?

Robert Dougherty
Wayne,
Thanks!
I'm handling the axes by making a Plot of the carefully matched size (setFrameSize) with the desired axis labels and pasting the image onto it.
Bob






On Saturday, October 24, 2020, 5:47:18 PM PDT, Wayne Rasband <[hidden email]> wrote:





> On Oct 24, 2020, at 6:01 PM, Robert Dougherty <[hidden email]> wrote:
>
> Dear All,
>
> By now is there a good way to label the axes of an image for a publication? I once wrote a label_image plugin, but it is a bit dated and it looks like I don't even have it on my plugins page now.
>
> Related question: is there an easy way to convert a Plot into .pdf for a journal?

I don’t know how to label the axes of an image for publication but you can convert a plot into a .pdf file using the File>Print command and choosing PDF as the output. To keep the plot from being cut off at the top on Windows, I needed to check “Rotate 90 degrees” in the File>Page Setup dialog.

-wayne


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Label axes?

Robert Dougherty
All,
In case anyone is interested, the labeled images can be found here
https://www.researchgate.net/publication/344819638_Humidity_Modulates_Global_SARS-CoV-2_Superspreading_Events
and the plugin that did all of the processing and plotting is here
https://www.optinav.info/COVID_Superspreader_Humidity.htm
I had to hardcode the paste location when combing the plot with the axes/labels like this
        impContourMet.setRoi(130,81,1100,600);        
        IJ.run(impMetAH10withBar, "Copy", "");
        IJ.run(impContourMet, "Paste", "");
The target corner moved any time the Plot was changed, so took some iterating, but it ultimately worked well.
Bob

On Saturday, October 24, 2020, 5:53:33 PM PDT, Robert Dougherty <[hidden email]> wrote:
Wayne,
Thanks!
I'm handling the axes by making a Plot of the carefully matched size (setFrameSize) with the desired axis labels and pasting the image onto it.
Bob

On Saturday, October 24, 2020, 5:47:18 PM PDT, Wayne Rasband <[hidden email]> wrote:

> On Oct 24, 2020, at 6:01 PM, Robert Dougherty <[hidden email]> wrote:
>
> Dear All,
>
> By now is there a good way to label the axes of an image for a publication? I once wrote a label_image plugin, but it is a bit dated and it looks like I don't even have it on my plugins page now.
>
> Related question: is there an easy way to convert a Plot into .pdf for a journal?

I don’t know how to label the axes of an image for publication but you can convert a plot into a .pdf file using the File>Print command and choosing PDF as the output. To keep the plot from being cut off at the top on Windows, I needed to check “Rotate 90 degrees” in the File>Page Setup dialog.

-wayne


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html