Hi Alejandro, I think you could do this pretty easily using viewports. Draw the map in a big viewport covering the entire page, and then make the bar charts in smaller viewports. Viewports can overlay each other, and you have control over exactly where they are if you define custom ones, and use the /AXES qualifier. Try this simple example, where I just stick the example plot from bar_chart3.jnl on a global map, more or less over Australia. yes? define view/axes/x=0.:1/y=0:1 bigview The trick will be to locate the little viewports where you want them. Viewports are defined in terms of fraction of the total available width, so you'll need to express your desired coordinate locations in fractions of the distance from the lower left to the upper right corner. After making the map plot, look at the output of the command "SHOW SYMBOLS". There are lots of automatic symbols defined on any plot command, with things like the x-axis start and end, in world coordinates, axis lengths in page coordinates which are nominally "inches", a set of symbols that start with VP_ which refer to viewport definitions. You can use these to define small viewports and put the bar charts in them. You'll also want to control the axis labels and tic marks on the small plots so they look nice and are readable. -Ansley On 9/25/2012 4:15 PM, Alejandro Ludert
wrote:
Dear Ferret Community: |