lynda.com

Include png jpeg picture in Texshop on mac latex

July 28th, 2009 by windmaomao

it really took me a while to figure out how to include pictures in the latex, after trial and error and some online helper, it turns out to be very easy.

add the following in the beginning of the document
\usepackage{graphicx}

and whenever you need to include picture, add
\includegraphics[scale=0.5]{myfig}

make sue two things, 1) the myfig file need to be in the same path of the tex file; 2) no extension of the file should be appended, ex. png, jpg. I don’t know why, but if you add the extension, the texshop gave an fatal error. And the documentation of the texshop actually doesn’t have extension included either when it refers to include pdf and eps. If you get a missing bounding box error, please don’t go investigate bounding box, it’s not related as far as I see.

You can adjust the options in the bracket [], a small documentation you can found from here.

hope the above helps :)

VN:F [1.6.4_902]
Rating: 7.0/10 (4 votes cast)
VN:F [1.6.4_902]
Rating: 0 (from 0 votes)
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn

Vessel tumor rendering experiment III

July 28th, 2009 by windmaomao

vessel_tumor_render

all the components are shown without too much conflicts now, but there’s still some fine tune needs to be done.

VN:F [1.6.4_902]
Rating: 0.0/10 (0 votes cast)
VN:F [1.6.4_902]
Rating: 0 (from 0 votes)
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn

Vessel tumor rendering experiment II

July 3rd, 2009 by windmaomao

vessel_prob_demo

Getting better rendered :)

VN:F [1.6.4_902]
Rating: 0.0/10 (0 votes cast)
VN:F [1.6.4_902]
Rating: 0 (from 0 votes)
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn

Blood vessel tumor rendering experiment

June 26th, 2009 by windmaomao

blood_vessel_demo

vessel_tumor_demo

Click on the picture for larger frame.

Man, try to get the texture as close as the real blood vessel, so far this is what I got :)

VN:F [1.6.4_902]
Rating: 0.0/10 (0 votes cast)
VN:F [1.6.4_902]
Rating: 0 (from 0 votes)
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn

Vessel in 3D, preview

June 19th, 2009 by windmaomao

YouTube Preview Image

damn, finally i nailed it to produce this preview 3D vessel movie :) have fun !

VN:F [1.6.4_902]
Rating: 0.0/10 (0 votes cast)
VN:F [1.6.4_902]
Rating: 0 (from 0 votes)
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn

Blood vessel in 3D now :)

June 18th, 2009 by windmaomao

blood_vessel_3d

I’m experimenting to plot my simulation data into 3d, here’s a recent picture I came up with. Vessel with and without blood flow are colored in red and blue separately. Data is in discrete form, and is taken from one of my simulation run.

VN:F [1.6.4_902]
Rating: 0.0/10 (0 votes cast)
VN:F [1.6.4_902]
Rating: 0 (from 0 votes)
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn

follow up, Blood vessel network movie

February 15th, 2009 by windmaomao

it should be interesting to watch how blood vessel grows. this is a movie from my simulation project and the vessels are doing couple of things randomly including sprout, grow, branch, merge, collapse. Have fun

VN:F [1.6.4_902]
Rating: 0.0/10 (0 votes cast)
VN:F [1.6.4_902]
Rating: 0 (from 0 votes)
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn

Follow up, ants looking for food

February 15th, 2009 by windmaomao

this is a follow up simulation movie of ants looking for food, the previous post is here

VN:F [1.6.4_902]
Rating: 0.0/10 (0 votes cast)
VN:F [1.6.4_902]
Rating: 0 (from 0 votes)
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn

Vessel network outline, new project

February 14th, 2009 by windmaomao

[SinglePic not found]
Took over a project my friend worked on before recently, it’s about modeling vessel growth network. I made an outline couple of weeks ago using OmniGraffle .

VN:F [1.6.4_902]
Rating: 0.0/10 (0 votes cast)
VN:F [1.6.4_902]
Rating: 0 (from 0 votes)
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn

Is this how ants look for food ?

November 8th, 2008 by windmaomao

[SinglePic not found]
This picture is taken from my simulation of starved discret tumor cell. When they are starved, they tend to pop out looking for nutrient while aligning up. What’s driving them? and how they made the arrangment like this?

The picture borrowed some artistic sense from Photoshop’s “Replace color” while matching the background color on this website ;)

ADDED NOTES: one of the wordpress suggested sites pointed me to this blog and youtube video showing similar idea of ants following some sort of trail.

VN:F [1.6.4_902]
Rating: 0.0/10 (0 votes cast)
VN:F [1.6.4_902]
Rating: 0 (from 0 votes)
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn

Gnuplot on my mac

January 22nd, 2006 by windmaomao

The latest gnuplot 4.0 introduced a new graph type pm3D(or color grid) which I used a lot on my research. So I decided to give it a try on my powerbook. Here is the screenshot

[SinglePic not found]

VN:F [1.6.4_902]
Rating: 0.0/10 (0 votes cast)
VN:F [1.6.4_902]
Rating: 0 (from 0 votes)
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn

Test picture from an old project

January 15th, 2006 by windmaomao

[SinglePic not found]

wow, I found this old blog page of mine, this is a test picture generated by Qplot with a demo data file of a circle, still looks nice to me. It was used for post-processing of my two fluids solver.

VN:F [1.6.4_902]
Rating: 0.0/10 (0 votes cast)
VN:F [1.6.4_902]
Rating: 0 (from 0 votes)
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn