comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » how to make plot.pro to club with my existing routine ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
how to make plot.pro to club with my existing routine ? [message #93885] Tue, 15 November 2016 09:39 Go to next message
Cibi Raj is currently offline  Cibi Raj
Messages: 18
Registered: May 2015
Junior Member
Hi,

I am using a procedure called lbw_plot3d.pro which would plot a 3 dimensional particle data structure from Wind Space craft.

There are some numbers inside the plot which are all printed in black. But i am asked by my professor to use plot.pro to fix that along with the dimension of the output.

But I dont know how to make the plot.pro to plot what already lbw_plot3d.pro has plotted. Anyone has any idea how to do these ?!

Bit confused please help.

Also when I used find -iname "plot.pro" to see where exactly that procedure is there, I could not find it. what could be the reason ?

THank you.
Re: how to make plot.pro to club with my existing routine ? [message #93888 is a reply to message #93885] Tue, 15 November 2016 11:39 Go to previous messageGo to next message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Tuesday, November 15, 2016 at 12:39:59 PM UTC-5, Cibi Raj wrote:
> Hi,
>
> I am using a procedure called lbw_plot3d.pro which would plot a 3 dimensional particle data structure from Wind Space craft.
>
> There are some numbers inside the plot which are all printed in black. But i am asked by my professor to use plot.pro to fix that along with the dimension of the output.
>
> But I dont know how to make the plot.pro to plot what already lbw_plot3d.pro has plotted. Anyone has any idea how to do these ?!
>
> Bit confused please help.
>
> Also when I used find -iname "plot.pro" to see where exactly that procedure is there, I could not find it. what could be the reason ?

The IDL Function Graphics plot.pro is an IDL library function. It will be located whereever IDL was installed. If you are using Linux or Unix, you can use your IDL_PATH or EXELIS_DIR environmental variable.

As for your real question, you probably cannot do as asked. You can't use Function graphics plot.pro to "fix" an existing plot. In principle you can overlay *more* graphics or labels on an existing plot, but that's not what you asked about. You may have to find where lbw_plot3d.pro is stored and see how it work. This is not a public IDL routine, so it's unlikely you will be able to get a lot of help about it.

CM
Re: how to make plot.pro to club with my existing routine ? [message #93894 is a reply to message #93888] Thu, 17 November 2016 08:50 Go to previous messageGo to next message
Cibi Raj is currently offline  Cibi Raj
Messages: 18
Registered: May 2015
Junior Member
On Tuesday, 15 November 2016 20:39:37 UTC+1, Craig Markwardt wrote:
> On Tuesday, November 15, 2016 at 12:39:59 PM UTC-5, Cibi Raj wrote:
>> Hi,
>>
>> I am using a procedure called lbw_plot3d.pro which would plot a 3 dimensional particle data structure from Wind Space craft.
>>
>> There are some numbers inside the plot which are all printed in black. But i am asked by my professor to use plot.pro to fix that along with the dimension of the output.
>>
>> But I dont know how to make the plot.pro to plot what already lbw_plot3d.pro has plotted. Anyone has any idea how to do these ?!
>>
>> Bit confused please help.
>>
>> Also when I used find -iname "plot.pro" to see where exactly that procedure is there, I could not find it. what could be the reason ?
>
> The IDL Function Graphics plot.pro is an IDL library function. It will be located whereever IDL was installed. If you are using Linux or Unix, you can use your IDL_PATH or EXELIS_DIR environmental variable.
>
> As for your real question, you probably cannot do as asked. You can't use Function graphics plot.pro to "fix" an existing plot. In principle you can overlay *more* graphics or labels on an existing plot, but that's not what you asked about. You may have to find where lbw_plot3d.pro is stored and see how it work. This is not a public IDL routine, so it's unlikely you will be able to get a lot of help about it.
>
> CM

Thank you so much for the reply.

But why could not I manually see through the search engine whether plot.pro is there or not ? I did it and could not find plot.pro anywhere in the search results.

Exactly, yes I later understood that I need to overlay few graphics which would allow me to change the colour of the font on the plot. If I use !P.COLOR = 250, it changes the font inside the plot AND the title colour and the table border and labels in the table.

1. So I need a solution to bring the appropriate key word to into my routine so that it would display only the font inside the plot to be in white, which is not offered by the keywords in lbw_plot3d.pro

2. I also need to change the size of the plot so that the right most end falls within the white space of a ps file. I am trying with !P.POSITION but I am not achieving what I want. It will be highly helpful if anyone could know how to fix it :)

Thank you.
Re: how to make plot.pro to club with my existing routine ? [message #93899 is a reply to message #93894] Fri, 18 November 2016 07:33 Go to previous messageGo to next message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Thursday, November 17, 2016 at 11:50:55 AM UTC-5, Cibi Raj wrote:
> But why could not I manually see through the search engine whether plot.pro is there or not ? I did it and could not find plot.pro anywhere in the search results.

It depends where you searched. Did you search the IDL install location?
Re: how to make plot.pro to club with my existing routine ? [message #93905 is a reply to message #93899] Tue, 22 November 2016 06:43 Go to previous messageGo to next message
Cibi Raj is currently offline  Cibi Raj
Messages: 18
Registered: May 2015
Junior Member
On Friday, 18 November 2016 16:33:06 UTC+1, Craig Markwardt wrote:
> On Thursday, November 17, 2016 at 11:50:55 AM UTC-5, Cibi Raj wrote:
>> But why could not I manually see through the search engine whether plot.pro is there or not ? I did it and could not find plot.pro anywhere in the search results.
>
> It depends where you searched. Did you search the IDL install location?

I performed a general search, but now I got a different way to solve the problem.

I have another question. Is it normally okay in scientific publications to edit the scales and title etc using an image editor ? or its seen as cheating ?

But i am not altering any values or messing up anything with the plot, I just need to have the labels of my scale in black colour and the text inside the plot to be in white colour. I used

!P:COLOR = [255] which made all the texts to be in white and thus making the title and the scale lable also to be in white. So I made another plot with the font in black and just took out the title and scale label and put it over in the other plot which contains white text.

Please let me know it is seen as cheating ? Thank you.
Re: how to make plot.pro to club with my existing routine ? [message #93910 is a reply to message #93905] Wed, 23 November 2016 08:47 Go to previous messageGo to next message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Tuesday, November 22, 2016 at 9:43:55 AM UTC-5, Cibi Raj wrote:
> On Friday, 18 November 2016 16:33:06 UTC+1, Craig Markwardt wrote:
>> On Thursday, November 17, 2016 at 11:50:55 AM UTC-5, Cibi Raj wrote:
>>> But why could not I manually see through the search engine whether plot.pro is there or not ? I did it and could not find plot.pro anywhere in the search results.
>>
>> It depends where you searched. Did you search the IDL install location?
>
> I performed a general search, but now I got a different way to solve the problem.
>
> I have another question. Is it normally okay in scientific publications to edit the scales and title etc using an image editor ? or its seen as cheating ?

Adding annotations to a plot is usually considered good form. Nobody reading the paper is going to care if the original that came out of some software package didn't have the right color font. That being said, you have to be careful to accurately represent what you are claiming in the paper.

CM
Re: how to make plot.pro to club with my existing routine ? [message #93912 is a reply to message #93910] Wed, 23 November 2016 09:38 Go to previous message
dcleuclidwl is currently offline  dcleuclidwl
Messages: 6
Registered: July 2016
Junior Member
On Wednesday, November 23, 2016 at 11:47:09 AM UTC-5, Craig Markwardt wrote:
> On Tuesday, November 22, 2016 at 9:43:55 AM UTC-5, Cibi Raj wrote:
>> On Friday, 18 November 2016 16:33:06 UTC+1, Craig Markwardt wrote:
>>> On Thursday, November 17, 2016 at 11:50:55 AM UTC-5, Cibi Raj wrote:
>>>> But why could not I manually see through the search engine whether plot.pro is there or not ? I did it and could not find plot.pro anywhere in the search results.
>>>
>>> It depends where you searched. Did you search the IDL install location?
>>
>> I performed a general search, but now I got a different way to solve the problem.
>>
>> I have another question. Is it normally okay in scientific publications to edit the scales and title etc using an image editor ? or its seen as cheating ?
>
> Adding annotations to a plot is usually considered good form. Nobody reading the paper is going to care if the original that came out of some software package didn't have the right color font. That being said, you have to be careful to accurately represent what you are claiming in the paper.
>
> CM

I am sufficiently old that when I was starting out in research, computer generated plots were considered too ugly to put directly in a journal. We would give our ugly plot to an artist who would hand draw all the labels.

--Wayne
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to plot isosurfaces programmatically and import variables like color of each isosurfce, layout of the outcome and export results automatically?
Next Topic: Python vs IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:32:04 PDT 2025

Total time taken to generate the page: 0.00639 seconds