8

I am trying plot data sets consisting of 3 coordinates: X-coordinate, x-coordinate and the number of occurrences. example:

1 2 10 
3 1 2
3 2 1

I would like to draw for every line a dot at x,y with a diameter which is depending on the third value.

Is that possible with Gnuplot?

2 Answers 2

12

Create a 2D plot with variable point size. See the demo.

Example:

plot 'dataFile.dat' u 1:2:3 w points lt 1 pt 10 ps variable
Sign up to request clarification or add additional context in comments.

Comments

1

This is basically equivalent to the existing answer, just shorter:

plot 'dataFile.dat' with circles

Credit: Gnuplot: plot with circles of a defined radius

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.