Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
plotting a subset of the domain
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
matei  
View profile  
 More options Aug 20, 11:39 am
From: matei <ma...@uottawa.ca>
Date: Thu, 20 Aug 2009 08:39:55 -0700 (PDT)
Local: Thurs, Aug 20 2009 11:39 am
Subject: plotting a subset of the domain
Hi,
I am having some trouble plotting a subset of my 2D computational
domain.  I am trying the command "clip to ..." and "clip on ..." as
per the example in the help manual.  However, when running the example
script, both "clip to" and "clip on" yield the same result.  I
expected the "clip on" to rescale to the pagesize.
Does anybody have experience with plotting subsets of a computational
grid?
Thanks,
matei

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
matei  
View profile  
 More options Aug 20, 11:46 am
From: matei <ma...@uottawa.ca>
Date: Thu, 20 Aug 2009 08:46:38 -0700 (PDT)
Local: Thurs, Aug 20 2009 11:46 am
Subject: Re: plotting a subset of the domain
when i use "clip to" to make a plot, and then "clip on" to make a
second plot, the second plot does not cover the entire page.
However, if i use only "clip on" to plot something, then it seems to
do what was intended.

On Aug 20, 11:39 am, matei <ma...@uottawa.ca> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Quirk  
View profile  
 More options Aug 20, 2:57 pm
From: James Quirk <j...@galcit.caltech.edu>
Date: Thu, 20 Aug 2009 11:57:33 -0700 (PDT)
Local: Thurs, Aug 20 2009 2:57 pm
Subject: Re: plotting a subset of the domain
Matei,

On Thu, 20 Aug 2009, matei wrote:

> Hi,
> I am having some trouble plotting a subset of my 2D computational
> domain.  I am trying the command "clip to ..." and "clip on ..." as
> per the example in the help manual.  However, when running the example
> script, both "clip to" and "clip on" yield the same result.  I
> expected the "clip on" to rescale to the pagesize.
> Does anybody have experience with plotting subsets of a computational
> grid?

There is a difference between clip on and clip to, but the
example on manual page was badly chosen. To see the difference,
try running:

utilize example::CornerProblem
plugin amr_sol
do::EquationSet
do::Domain

postscript on
plotfile ps/grid_on.ps
   clip on 29,39,10,10
   plot grids

followed by:

utilize example::CornerProblem
plugin amr_sol
do::EquationSet
do::Domain

postscript on
plotfile ps/grid_to.ps
   clip to 29,39,10,10
   plot grids

Basically the "on" variant does an autoscale on the selected region
where as the "to" variant doesn't .

Anyhow rather than agonize over the syntactic why's and wherefore's
it for be easier for you to say what it is you would like to plot
then I'll see what I can do.

James


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
matei  
View profile  
 More options Aug 20, 5:02 pm
From: matei <ma...@uottawa.ca>
Date: Thu, 20 Aug 2009 14:02:55 -0700 (PDT)
Local: Thurs, Aug 20 2009 5:02 pm
Subject: Re: plotting a subset of the domain
James,
Thanks.  What I wanted to do is to plot on the same page a series of
snapshots of a subset of my computational domain.  I got it to work
now, and it looks something like this:

  plotfile ps/composite_density1.ps
      do n = 3, 30, 3
        flowin io/model$n
        plotarea 10,10+$n/2.9*30,190,30
        frame plotarea
        clip on 95, 0, 190, 30
        DensityPlot
      end do
   plotfile

matei

On Aug 20, 2:57 pm, James Quirk <j...@galcit.caltech.edu> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google