Can I create a zoom effect on an initial portion of the horizontal axis without requiring reader interactivity?

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

Can I create a zoom effect on an initial portion of the horizontal axis without requiring reader interactivity?

margmacd

Hello

I recently created a scatter-plot in Excel and on viewing the chart, I decided that I would like to edit the chart to enable me to zoom in on the scale of the horizontal axis between 0 and 0.05. I understand that this can be achieved interactively using VBA. However, I wish the zoom-in effect to be static, as some of my readers will have hard copies of my work. I now realise that this effect cannot be obtained in Excel. Can you please advise me if it is possible to construct a scatter-plot in SPSS which provides the static zoom-in effect I am looking for. For the same chart, I wish the remainder of the content (beyond and including 0.05 on the horizontal axis) to be displayed at normal resolution. Therefore, it is not simply a case of editing the horizontal axis only to cover the range ‘less than 0.05’.

Many thanks in advance

 

Best wishes
Margaret

 

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Dr Margaret MacDougall
Medical Statistician and Researcher in Education

(Senior Lecturer)

Centre for Population Health Sciences
The Usher Institute of Population Health Sciences and Informatics

University of Edinburgh Medical School

Teviot Place

Edinburgh EH8 9AG

Tel: +44(0)131 650 3211

Fax: +44(0)131 650 6909

Email: [hidden email]

https://www.ed.ac.uk/profile/margaret-macdougall

 

The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: Can I create a zoom effect on an initial portion of the horizontal axis without requiring reader interactivity?

Jon Peck
You could use the GPL PAGE and GRAPH statements to position multiple graphs in a single frame to achieve this.  It's a little tricky to get everything in the right place, so some experimentation would be needed.  You can read about these in the GPL Reference material, and you can see some examples of composite charts if you generate charts using Graphs > Compare Subgroups and Graphs > Regression Variable Plots.  Look at the generated GPL in the Notes tables that accompany these.

On Mon, Jan 6, 2020 at 6:45 AM MACDOUGALL Margaret <[hidden email]> wrote:

Hello

I recently created a scatter-plot in Excel and on viewing the chart, I decided that I would like to edit the chart to enable me to zoom in on the scale of the horizontal axis between 0 and 0.05. I understand that this can be achieved interactively using VBA. However, I wish the zoom-in effect to be static, as some of my readers will have hard copies of my work. I now realise that this effect cannot be obtained in Excel. Can you please advise me if it is possible to construct a scatter-plot in SPSS which provides the static zoom-in effect I am looking for. For the same chart, I wish the remainder of the content (beyond and including 0.05 on the horizontal axis) to be displayed at normal resolution. Therefore, it is not simply a case of editing the horizontal axis only to cover the range ‘less than 0.05’.

Many thanks in advance

 

Best wishes
Margaret

 

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Dr Margaret MacDougall
Medical Statistician and Researcher in Education

(Senior Lecturer)

Centre for Population Health Sciences
The Usher Institute of Population Health Sciences and Informatics

University of Edinburgh Medical School

Teviot Place

Edinburgh EH8 9AG

Tel: +44(0)131 650 3211

Fax: +44(0)131 650 6909

Email: [hidden email]

https://www.ed.ac.uk/profile/margaret-macdougall

 

The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD


--
Jon K Peck
[hidden email]

===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: Can I create a zoom effect on an initial portion of the horizontal axis without requiring reader interactivity?

margmacd

Thanks, John. I appreciate that SPSS may not be the best choice of package in this particular case.

 

Best wishes
Margaret

 

From: Jon Peck <[hidden email]>
Sent: 07 January 2020 14:16
To: MACDOUGALL Margaret <[hidden email]>
Cc: SPSS List <[hidden email]>
Subject: Re: [SPSSX-L] Can I create a zoom effect on an initial portion of the horizontal axis without requiring reader interactivity?

 

You could use the GPL PAGE and GRAPH statements to position multiple graphs in a single frame to achieve this.  It's a little tricky to get everything in the right place, so some experimentation would be needed.  You can read about these in the GPL Reference material, and you can see some examples of composite charts if you generate charts using Graphs > Compare Subgroups and Graphs > Regression Variable Plots.  Look at the generated GPL in the Notes tables that accompany these.

 

On Mon, Jan 6, 2020 at 6:45 AM MACDOUGALL Margaret <[hidden email]> wrote:

Hello

I recently created a scatter-plot in Excel and on viewing the chart, I decided that I would like to edit the chart to enable me to zoom in on the scale of the horizontal axis between 0 and 0.05. I understand that this can be achieved interactively using VBA. However, I wish the zoom-in effect to be static, as some of my readers will have hard copies of my work. I now realise that this effect cannot be obtained in Excel. Can you please advise me if it is possible to construct a scatter-plot in SPSS which provides the static zoom-in effect I am looking for. For the same chart, I wish the remainder of the content (beyond and including 0.05 on the horizontal axis) to be displayed at normal resolution. Therefore, it is not simply a case of editing the horizontal axis only to cover the range ‘less than 0.05’.

Many thanks in advance

 

Best wishes
Margaret

 

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Dr Margaret MacDougall
Medical Statistician and Researcher in Education

(Senior Lecturer)

Centre for Population Health Sciences
The Usher Institute of Population Health Sciences and Informatics

University of Edinburgh Medical School

Teviot Place

Edinburgh EH8 9AG

Tel: +44(0)131 650 3211

Fax: +44(0)131 650 6909

Email: [hidden email]

https://www.ed.ac.uk/profile/margaret-macdougall

 

The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.

===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD


 

--

Jon K Peck
[hidden email]

===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD