zoom

In matlab, how can I zoom in on a plot in my script

I'd like to zoom in on a plot using a script. I'm only interested in horizontally constrained zooming. So I'd like to do something like p = plot(myData); z = zoom; set(z, 'ZoomInToPoints' , [50 100]); or p = plot(myData); myZoom([50, 100]); So either of these functions would zoom into a plot like when you zoom in with the magnif...

Convert lat/lon to pixels and back

I'm using google maps in my application, and I have a webserver with a databse filled with lat/lon values. I want to mark them on the map, but I also want to cluster them together if they are within a certain pixel-distance of eachother. I figure if I retrieve all my points from the database, I should be able to do something like this (...

Getting screen size to restore after keyboard goes away on iphone

I am a very inexperienced "programmer," and I have been asked to write a web-based app that involves you writing in a text area and clicking some radio buttons/checkboxes. When you click on a text box, it zooms into it and displays the keyboard like it should, and you can write whatever you need to write in it, but the problem is this: ...

How to resize an image on click with jQuery?

I've the next problem: I've got a div which contains an image. I need this image resized if is bigger than the width of the div, and if the user click the image, show it at the full size. The div width is managed with the windows width. How do I do that? ...

Is it possible to "zoom" the text in a WPF RichTextBox?

I noticed the WinForms RichTextBox has a ZoomFactor property that I assume is exactly what I want--unfortunately this seems to be entirely missing on the WPF variant. Is there any way I can achieve the same functionality (increasing/decreasing the visible text size of the whole document without actually changing the underlying RTF)? Up...

Zoom to different parts of SVG depending on mouse position

So I've found a script which seems to do just that , but it zooms a <g> that wraps whole svg contents by applying a transformation matrix to it (though it doesn't zoom in Opera because of sniffing). Wrapping all lements in a <g> is not an option because I'm making an image viewer and different files may be loaded. Setting transform="m...

zoom image effect on image

Looking for a jquery plugin or some jquery script that would do something like on the following page: http://tinyurl.com/2uqojd8 If you roll the mouse over the main image, you can see the zooming of the image etc. Anywhere I could find something that does similar? ...

UIImageView Gestures (Zoom, Rotate) Question

i would like to make 2 operations to an UIImageView zoom, rotate i have 2 problems i make an operation for zoom for ex. and when i try to make rotation the uiimeview is set to initial size, i would like to know how to keep the zoomed uiimageview and make the rotation from the zoomed image i would like to combine the zoom operation with...

User interaction is disabled when run app on iPad, working fine for iPhone.

My application is running perfectly on iPhone (all version 3.0 - 4.0), but when I run the app on iPad (3.2) app is running but I'm not able to make any user interaction, even the 2x button is also not working. Please help me. ...

How do I create a zoom in/zoom out feature like in Google Maps

I want to create a web based tool that allows people to visualise semantic web ontologies. The visualisation will look like a tree structure. I want people to be able to zoom in and zoom out the way they can with Google Maps, to get a close look to make a selection or to get a overview of the main topics etc. Can you provide some pointe...

Why does zooming out cause CSS change to only one portion of my content?

http://dontcare.99k.org/demo/addpages.php.htm Try zooming out and you'll see that the small boxes on the left break apart and spill outside of their container. I'm not sure why this is happening. Please help, Many thanks!! ...

Preventing CALayer Sublayers From Getting Scaled

I have some CALayers in a layer hosted view. Each of these layers has additional layers to hold (1) a close button, and (2) a resize handle. These additional 'control' layers are added as sublayers to the parent layer. Currently, when I zoom the workspace in which these layers reside, everything scales -- including these control layers....

Scale Map Markers by Zoom, Android

Hi, I have lot of markers on my map. Zooming in each marker shows me a position. but zooming out the markers are overlapping each other and it is more difficult do determine the position of a marker. Is there a way to scale the marker image depending on the zoom factor? ...

Zoom and center a Google Map according to its markers (JavaScript API V3)

Hi all, I think the title is enough, I don't even see how to do this for the V2 and V1 API :/ Thanks :) ...

reset the image to original size after double tap.

I m doing zooming through this- @interface ScrollViewController : UIScrollView { UIImageView *imageView; } - (id)initwithImage:(UIImage *)image { if (self = [super init]) { // Custom initialization _image=image; imageView=[[UIImageView alloc]initWithFrame:CGRectMake(15, 20, 250, 250)]; [imageView setImage:im...

Is it safe to wrap all immediate children of an svg document into <g> for zooming?

In my app I load different SVG files and need to zoom them. As I see it I need to apply a transformation matrix to an element to have it zoomed, but this doesn't work on SVG element, so I need to wrap everything in a <g> and transform it instead. So my question is is it safe to do this? Is it allowed for elements like <defs> be not im...

Zoom in in visual studio 2005

Is there any option to zoom in or out in visual studio '05. Upgrading to '10 isn't an option here. I miss being able to look close up when I need it. From what I can tell there is no native support, are there any ways to trick it into zooming? ...

How to exclude some text from browser zoom

Yes, I know this is probably a bad thing to want to do. I have converted a web site to Drupal. I think I've done a reasonably good clean job with the markup and CSS starting with the Zen theme. All font sizes are set in em. It's a fixed width layout. That might be a bad decision but ... I basically copied the old site design. The menu ...

How do I minimize or restore an external app with the correct animation effect in Vista/Win7?

I'm writing an app that can minimize or restore other, external apps' windows. However, when I do this, the windows will usually just minimize or restore directly, without the zoom/collapse animation effect that you normally see. Or, in some cases, minimizing will cause the window to fade, but not collapse. I've tried posting or sendi...

The "Default Zoom Level" Mouse Button

Many mice and keyboards have "zoom" buttons on them. These almost always generate Ctrl+Mouse Wheel messages to the applications, so they are easily accounted for by us programmers. But my current Logitech mouse has an additional feature. The zoom wheel indeed sends Ctrl+Mouse Wheel messages when scrolled (or, actually, tilted), but when...